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 |
if root user forget the password how to change it?
what are the backup utilites on red hat linux 4.0?
What does exec family return?
what are different ways the context switch happens from user to kernel space or vice-versa ?
linux system its not booting up its showing groub error what i need to do?
if one of the critical section code (linked list) is under ISR & another one in kernel thread ? How you will synchronize for this critical section code ?
why the kernel panic error was appering?
diff b/w spinlock, seamaphores and mutex and where to use it.
what happens when we do insmod & rmmod in Linux Device Drivers ?
What is the Diffrent between Redhat linux And suse linux
I would like to know whether Simado and Setu products are they EPBX or not ?
what are Softirq's and how many major numbers be allocated in the linux kernel(2.4) ?