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 a safe state and a safe sequence?

628


What is authentication in operating system?

576


What do you mean by a process?

593


How do I search for a file?

552


What is an OS? Explain it to a layman.

582






What are old chkdsk files?

606


How many gb of ram can 64 bit use?

599


Is 64 bit excel faster?

535


What are advantages of operating system?

549


How to take backup using active directory recyclebin concept

1772


What is the use of Synchronized keyword?

589


What is memory-management unit (mmu)?

647


What is the programs x86 folder?

637


Do I need program files and program files x86?

691


What are the functions of operating system?

591