MCQs City stays free thanks to ads. Please turn off your ad blocker for this site so content and features keep working.
Operating System
Process Synchronization
Q
Mutual exclusion can be provided by the __________
AA. Mutex locks
BB. Binary semaphores
CC. Both mutex locks and binary semaphores
DD. None of the mentioned
Correct Answer:
C. C. Both mutex locks and binary semaphores
Explanation:
Mutual exclusion can be provided by both mutex locks and binary semaphore. Mutex is a short form of Mutual Exclusion. Binary semaphore also provides a mechanism for mutual exclusion. Binary semaphore behaves similar to mutex locks.