what is the diff b/w MUTEX and semaphore?
Answers were Sorted based on User's Feedback
Answer / chandra
Hi,
I THINK mute x one problem are there its buy waiting or
spin lock semaphore are avoid this problem
| Is This Answer Correct ? | 1 Yes | 9 No |
Answer / 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 |
what is the difference between user APIs and kernel system calls ?
how to create a ftp user on redhat linux 4.0?
I would like to know whether Simado and Setu products are they EPBX or not ?
what is segmentation fault?
what is iptabe on redhat linux?
what are the different ways the Linux can swich from User Space to Kernel Space & vice-versa ?
what are different ways the context switch happens from user to kernel space or vice-versa ?
What is the use of proc structure?
what is the diff b/w MUTEX and semaphore?
Explain process management system calls in linux?
what is sudo on linux?
if root user forget the password how to change it?