Reputation: 19
I'm studying Operating System with myself and I'm getting very confused that what is the difference in Semaphore, Monitor and mutual exclusion, all this terms are sound very similar to achieve synchronization ?
Upvotes: 0
Views: 339
Reputation: 21647
In the old days we just talked about LOCKS. There are generally two types of locks that can be put on a resource
MUTEX/MUTUAL EXCLUSION/LOCK are all the same thing.
There are many ways to implement locks. Semaphores and monitors are methods of implementing locks.
Upvotes: 1