1.

Mutual exclusion can be provided by the __________(a) mutex locks(b) binary semaphores(c) both mutex locks and binary semaphores(d) none of the mentionedI got this question at a job interview.My enquiry is from Process Synchronization topic in division Processes of Operating System

Answer»

Correct choice is (c) both mutex LOCKS and binary semaphores

The best I can explain: 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.



Discussion

No Comment Found

Related InterviewSolutions