What is a binary semaphore? What is its use?
Answer Posted / noel
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 ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is a 64 bit operating system?
What does the safe mode do?
What are 4 types of operating systems?
While running DOS on a PC, which command would be used to duplicate the entire diskette?
What is bounded-buffer problem?
Why do we need inter process communication?
How you can detect deadlock condition?
Discuss a Thread Life Cycle?
Differentiate between Multiprocessing, Mutliprogramming and Multithreading.
What are the two types of file system?
How long does it take to run chkdsk?
Where are chkdsk logs stored?
Explain about loader and the functions executed by them?
Why Thread behavior is unpredictable?
Is 64gb ram enough for gaming?