what is the diff b/w MUTEX and semaphore?

Answers were Sorted based on User's Feedback



what is the diff b/w MUTEX and semaphore?..

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

what is the diff b/w MUTEX and semaphore?..

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

Post New Answer

More Linux System Calls Interview Questions

if root user forget the password how to change it?

4 Answers   Wipro,


what are the backup utilites on red hat linux 4.0?

4 Answers   Wipro,


What does exec family return?

1 Answers  


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

0 Answers   Alcatel,


linux system its not booting up its showing groub error what i need to do?

4 Answers   Wipro,






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 ?

4 Answers   NetApp,


why the kernel panic error was appering?

13 Answers   Air2Web, Allianz,


diff b/w spinlock, seamaphores and mutex and where to use it.

2 Answers   Intel,


what happens when we do insmod & rmmod in Linux Device Drivers ?

2 Answers  


What is the Diffrent between Redhat linux And suse linux

2 Answers   Wipro,


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

0 Answers   IBM,


what are Softirq's and how many major numbers be allocated in the linux kernel(2.4) ?

1 Answers  


Categories