what is the diff b/w MUTEX and semaphore?

Answer Posted / alka

mutex only ranges from 0 to 1.it is binary

semaphore is 2 types
binary
counnting
binary is like utex
counting can handle multiple threads at a time, no range
limit
so meanwhile it is not recommended

Is This Answer Correct ?    2 Yes 13 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?

686


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

2020


Explain process management system calls in linux?

642


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

2248