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

What are the disadvantages of microkernels?

754


Why is a single serial port managed with a single interrupt-driven i/o but a front-end processor is managed using a polling i/o, such as a terminal concentrator?

495


Is it possible to have a deadlock involving only one process?

582


What is a bootloader?

551


Is vmware an operating system?

559






What is turnaround time?

582


What is cascading termination?

800


When would you choose bottom-up methodology?

2120


Where is program files located?

572


Can I use ie with google chrome?

511


Can I delete program files x86?

533


Should I install 32 bit or 64 bit?

550


Enumerate the different RAID levels.

615


How much ram do I need for excel?

512


Can a system detect starvation?

532