What are counting semaphores?

Answer Posted / nagi

Binary semaphore or mutex is used for single resouce
locking.where as counting semaphone is a variable counter
whose value will be initilised to number of resources
present.one can acees the resource if semaphore value is
greater than zero.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why use 64bit excel?

699


Explain the execution cycle for a von neumann architecture.

766


What is a socket?

817


What differences are there between a semaphore wait signal and a condition variable wait signal?

739


What is the meaning of busy spin in multi-threading?

768


What is operating system in computer?

776


What is fragmentation?

828


What is a bootloader?

727


How do I copy a full file path?

766


Explain how a copying garbage collector works. How can it be implemented using semispaces?

748


Explain the key object oriented concepts used by windows nt?

694


What is lxde desktop?

751


Is it safe to delete program data?

775


What is difference between deadlock and starvation?

734


Describe Banker’s algorithm

807