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 |
Port number is already in use .. how to fix for apache..?
why the kernel panic error was appering?
How to give the root permision to users?
Explain process management system calls in linux?
what is iptabe on redhat linux?
what is samba, what is configuration file, how it will work?
What are the signals we have in Linux
What is atomic function / atomic variable ?
what is sudo on linux?
what is mean by raid and what are all raids available even in software and hardware?
what is nis server
what is stored at /lib/modules ?