What is a binary semaphore? What is its use?

What is a binary semaphore? What is its use?
A binary semaphore is one, which takes only 0 and 1 as values. They are used to implement mutual exclusion and synchronize concurrent processes.

No comments:

 
Top Blogs