what is the diff b/w MUTEX and semaphore?

Answer Posted / manohar adari

we have to initialize a semaphore with some value.semaphores
are generally used for resource allocation by initilizing
the semaphore with the available number of resources.

Mutexes are exclusively used for threads and processes
synchronization.

Is This Answer Correct ?    2 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are system calls used for process management in linux?

572


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

1915


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

2126


Explain process management system calls in linux?

534