Question OS-SYNC-0069
HardWhat is the difference between a mutex and a binary semaphore?
- A.
They are identical in every way
- B.
A semaphore can only be 0
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Process Synchronization question
What is the difference between a mutex and a binary semaphore?
They are identical in every way
A semaphore can only be 0
Sign up free to see the answer and a step-by-step explanation.
A mutex can count above 1
A mutex has an owner and must be released by the thread that locked it; a semaphore can be signalled by any thread