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
Where the user store resides in OS?
What is load sharing in operating system (os)?
Binding of instructions and data to memory?
What is a virtual memory?
What are the differences between Real Time Operating System (RTOS) and General Purpose Operating Systems (GPOS)?
What is disk operating system in computer?
What are the types of files?
What are co-operating processes?
What are read-write locks?
Explain smp.
What is resource allocation graph?
What resources are used when a thread created? How do they differ from those when a process is created?
Explain the purpose of the open() and close() operations.
What is the purpose of hard disk?
List advantages and disadvantages of dynamic memory allocation vs. static memory allocation.?