0
667views
Differentiate between Mutex, Lock() and Spinlock() interprocess communication techniques with suitable examples
1 Answer
| written 4.5 years ago by |
MUTEX (Mutual Exclusion):
Say a resource or a semaphore is required by a task, and it gets the access of the same. If it calls another task which also requires the same resource, it will now get stuck as it is already acquired by the previous task. This is called …