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 & 1 as values. They are used to implement mutual exclusion & synchronize concurrent processes.

No comments:

Post a Comment

comment on this post

Note: Only a member of this blog may post a comment.