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

Explain process management system calls in linux?

536


What are system calls used for process management in linux?

574


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

1920


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

2128