Semaphore and Mutex

What is the difference between Semaphore and Mutex?

Questions by sr_sanjeev

Showing Answers 1 - 9 of 9 Answers

Semaphore is a tool used for synchronization problem,critical section problem

Mutex implies only one process can perform operation in critical section and using semapohore you implement mutex locks

  Was this answer useful?  Yes

Basic difference between mutex and semaphore is that in mutex the process which initiates the lock is the one which unlock it. In contrast, it is possible for one process to lock a binary semaphore and for another to unlock it.

The basic difference between a mutex and a semaphore is that, a process that sets a lock the mutex is the one to unlock it. In contrast, it is possible for one process to lock a semaphore and for another to unlock it.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions