What is a binary semaphore? What is its use?
Answer Posted / usha
Binary semaphore has two values 0 and 1. It can be used for
guarding critical section and also for guarding single
resource. Semaphore value 1 indicates, resource is
available, 0 means it is not available.
| Is This Answer Correct ? | 24 Yes | 3 No |
Post New Answer View All Answers
What is LiveLock?
What is a virtual machine and how does it work?
What is Page-Stealer process?
Is 4gb ram enough for netflix?
What are the different tasks of Lexical analysis?
How to stop running thread?
Will chkdsk fix bad sectors?
Explain Page Segmentation.
What are its main functions?
How can multiple threads be controlled simultaneously?
Explain the resident set and working set of a process?
Tell me if you know how are the wait/signal operations for monitor different from those for semaphores?
Can a 64 bit run a 32bit program?
What are the thread states?
Which is better ext3 or ext4?