Operating Systems W3 - W4 Mutual Exclusions : Synchornization and Deadlock Flashcards

1
Q

Mutex vs Semaphore

A

Both synchronizing the threads:
Mutex - can only be acquired/released only by the same threade.
Semaphore - can be acquire/released by any threat

How well did you know this?
1
Not at all
2
3
4
5
Perfectly