what is the diff b/w MUTEX and semaphore?

Answer Posted / afsana

mutex is used to run a single thread only so that until the
first thread releases the process other thread has to wait.
But in case of semaphore simultaniously more than on thread
can have access depending upon how many threads we are
allowing.

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1915


Explain process management system calls in linux?

534


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

2126


What are system calls used for process management in linux?

572