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

What are loosely coupled systems?

0 Answers  


Is there a 64 bit version of office 365?

0 Answers  


What is sudo user?

0 Answers  


Is gnome a shell?

0 Answers  


Is atomic thread safe?

0 Answers  


What is the difference between Authoritative restore & Non- Authoritative restore?

1 Answers   Wipro,


What are the 4 stages of computing?

0 Answers  


What are short, longand mediumterm scheduling?

2 Answers   Accenture, SwanSoft Technologies, TCS,


What is a safe state and a safe sequence?

0 Answers  


What isthe difference between a 'thread' and a 'process'?

2 Answers   HP,


What replaced ifconfig?

0 Answers  


How long should a chkdsk r take?

0 Answers  


Categories