Question

Which of the following statements about a Mutex (Mutual Exclusion) lock is correct?

A A mutex allows multiple threads to enter the critical section simultaneously
B A mutex ensures that only one thread can access a critical section at a time
C A mutex can only be used in single-threaded programs
D A mutex eliminates the possibility of deadlocks completely
E A mutex automatically prevents race conditions without proper usage
Practice Next

Relevant for Exams:

Hey! Ask a query