A semaphore initialised to 1 and used for mutual exclusion is known as a:
Correct answer
A. Binary semaphore
12 views
A. Binary semaphore
12 views
A binary semaphore takes only the values 0 and 1 and works like a mutex lock around a critical section. A counting semaphore manages a pool of identical resources.
Asked in: GATE CS, NTS, PPSC
Not sure why the answer is A? Ask here and get an explanation.