You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't think it's that accurate because a mutex is locking mechanism used to synchronize access to a resource, while Semaphore is signaling mechanism (“I am done, you can carry on” kind of signal).
Great Collection! 💯
But in https://github.com/SuyashLakhotia/TechInterview/blob/master/5%20-%20OS%20Fundamentals.md#mutexes--semaphores you've mentioned that "They differ only in that a semaphore's integer may start at a number greater than 1."
I don't think it's that accurate because a mutex is locking mechanism used to synchronize access to a resource, while Semaphore is signaling mechanism (“I am done, you can carry on” kind of signal).
Source : https://www.geeksforgeeks.org/mutex-vs-semaphore/
Let me know if I'm wrong :)
The text was updated successfully, but these errors were encountered: