Interview Question

Created by admin on Sat, 17/11/2012 - 17:18
Question: 

What is a binary semaphore? What is its use?

Language: 
Answer: 
A binary semaphore is one, which takes only 0 and 1 as values. They are used to implement mutual exclusion and synchronize concurrent processes.