Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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 happens when we do insmod & rmmod in Linux Device Drivers ?

2 Answers  


1. Where the History file can be located? 2. How will you harden the server? 3. Diff between Raid 1 and Raid 5? 4. What is the largest disk size can be used in LVM? 5. How will you remove a PV from lvm without any data loss? 6. What is the diff between ext3 and ext2 File system? 7. How we can use resize2fs, what is the purpose? 8. What is the purpose of LVM? Why it is used? 9. If the FS is in read-only mode, so we cannot create any file. How will you fix it? 10. How to create swap partition after OS installation? 11. What is the diff between ssh and telnet? 12. How to find out the dependency required for a package?

3 Answers   IBM,


how to configure ftp server on redhat linux?

9 Answers   Infosys,


what are the backup utilites on red hat linux 4.0?

4 Answers   Wipro,


What are system calls used for process management in linux?

0 Answers  


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,


what are the different ways the Linux can swich from User Space to Kernel Space & vice-versa ?

2 Answers   NetApp,


What does exec family return?

1 Answers  


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,


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

0 Answers   Alcatel,


Port number is already in use .. how to fix for apache..?

1 Answers   Google,


Categories