what is the diff b/w MUTEX and semaphore?

Answer Posted / deepak

* Mutex by default is initialised by 1, where as Semaphore
by default initialised by 0.

* Mutex can be unlocked by that process only which locks it,
where as in Semaphore any process can unlock a locked semaphore.

Is This Answer Correct ?    4 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are different ways the context switch happens from user to kernel space or vice-versa ?

2138


I would like to know whether Simado and Setu products are they EPBX or not ?

1926


What are system calls used for process management in linux?

583


Explain process management system calls in linux?

544