Which synchronization primitive ensures that only one thread executes a critical section at a time?
Semaphore
Barrier
Condition variable
Mutex

Advanced Algorithms Exercises are loading ...