What are counting semaphores?

Answer Posted / swetcha

Counting semaphore -Locks a shared resource against
simultaneous access by multiple threads
A counting semaphore is a generalization of a mutex
semaphore that locks a shared resource against simultaneous
access by multiple threads. All resource allocation
functions, such as wait() and post() , take an optional
parameter defining the number of resources to allocate or
deallocate.

Is This Answer Correct ?    11 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is virtual memory and where it exhist ?

641


What are different types of interprocess communication methods?

522


What are types of operating system?

562


What is basic concept of operating system?

547


What are device drivers in os?

521






What do you understand by registers?

549


Is faster ram worth it?

524


Explain the concept of Thread Pool? what its Benefits?

540


What is the purpose of system calls?

585


Do I need web plugins for vlc?

515


Explain Advantages and Limitations of a command line interface?

610


How much ram can you have on a 64 bit system?

486


What are the steps of booting?

579


What are the disadvantages of microkernels?

730


What are the three types of file system?

495