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...


which is best among semaphores and mutexes?

Answers were Sorted based on User's Feedback



which is best among semaphores and mutexes?..

Answer / ankit tripathi

We should always go for mutex lock as compared to semaphore
lock when it comes for a Multithreaded program(exclusion
b/w threads) and when we do not want exclusion b/w process,
the reason is that mutex is not an IPCS and any other
program cannot effect it, moreover you need not to create
an IPC Key and all those stuffs.

Is This Answer Correct ?    1 Yes 0 No

which is best among semaphores and mutexes?..

Answer / scandal

semaphore.
mutex is a semaphore with count 1

Is This Answer Correct ?    1 Yes 3 No

Post New Answer

More Operating Systems General Concepts Interview Questions

Explain thread.

0 Answers  


What's the difference between 32 and 64 bit?

0 Answers  


Is bgp layer 3 or 4?

0 Answers  


Can I use ie with google chrome?

0 Answers  


How can I boot from usb?

0 Answers  


What are the 7 elements of communication?

0 Answers  


To ensure one pgm. doesnt corrupt other pgm. in a Multi-pgm. enviornment .what you should do?

2 Answers   Verifone,


Explain what you mean by memory alignment.

0 Answers   TCS,


Explain latency, transfer and seek time with respect to disk i/o.?

0 Answers  


What are the 4 stages of computing?

0 Answers  


How much ram do I need?

0 Answers  


How long should a chkdsk r take?

0 Answers  


Categories