A _____ is a mechanism for mutual exclusion.
-
critical section
-
mutual exclusion
-
semaphore
-
none of these
C
Correct answer
Explanation
A semaphore is a synchronization primitive that provides mutual exclusion by controlling access to shared resources through a counter. Critical sections are code segments that need mutual exclusion, not the mechanism itself. Mutual exclusion is the concept, not the implementation.