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

what is iptabe on redhat linux?

3 Answers   CDAC,


how to create samba server in fedora linux 9 ?

2 Answers   Accenture,


How to give the root permision to users?

3 Answers   Wipro,


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

2 Answers   Intel,


1.Diff between Active and passive FTP? 2.What is anacron? 3.Diff between yum update and yum install while doing for kernel? 4.root_squash and no_root_squash does what? 5.What are the commands will you execute to find a new hardware? 6.How will you find out a lun allocated from SAN? 7.What is the main diff in CaT5 and CAT6 cable, except the 1/100 and 1/1000? 8.What is stale NFS and How will you fix it? 9.What is kernel panic error? 10.How will you recover password and shadow file, in case both got deleted. Explain the steps? 11.Explain boot process 12.What is network bonding. Explain the steps? 13.What are the exit codes returned by FSCK? 14.What is LDOM? 15.Diff between block and character device?

2 Answers   Wipro,






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

4 Answers   Wipro,


what is segmentation fault?

11 Answers   AdTel, NetApp,


What is atomic function / atomic variable ?

1 Answers   Broadcom,


what is sudo on linux?

3 Answers   IBM,


what is nis server

13 Answers  


how to configure sendmail server on red hat linux version 4 and what and all we Require?

3 Answers   Wipro,


how to create a ftp user on redhat linux 4.0?

6 Answers   Accenture,


Categories