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 are the disadvantages of microkernels?
Explain paging, faulting, and deadlock?
Hello this is gaurav garg I have completed BCA. plz TEll me how will ask question in interview.
How much ram can you put in a 64 bit system?
What are the various ipc mechanisms?
Explain pcb.
Who invented os?
Explain Memory Partitioning, Paging, Segmentation?
What differences are there between a semaphore wait signal and a condition variable wait signal?
What is Direct Access Method?
What is best free operating system?
Which is first operating system?
Explain briefly what is meant by trap and a trapdoor?
What are the benefits and losses of placing the functionality in a device controller rather than in placing it in the kernel?
What is monolithic kernel?