Binary Semaphore or MutexIn counting semaphore, Mutual exclusion was not provided because we has the set of processes which required to execute in the critical section simultaneously. However, Binary Semaphore strictly provides mutual exclusion. Here, instead of having more than 1 slots available in the critical section, we can only have at most 1 process in the critical section. The semaphore can have only two values, 0 or 1. Let's see the programming implementation of Binary Semaphore. Next TopicIntroduction Deadlocks |
We provides tutorials and interview questions of all technology like java tutorial, android, java frameworks
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India