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 is difference between synchronous and asynchronous threads and when can we use them?

2 Answers   HP,


What is eide?

0 Answers  


Some omeone on campus calls and says they have a new Mac. They've just pulled it out of the box and want to plug it into the campus network. What might they need to set to make this work?

0 Answers   Infogain,


What is spooling? and What is spooled device? Give the examples for the spooled devices?

2 Answers   Google,


What are demand- and pre-paging?

4 Answers  


What is a cache memory?

0 Answers   TCS,


Tell me what are the rings in windows nt?

0 Answers  


Explain turnaround time and response time?

0 Answers  


In loading programs into memory, what is the difference between load-time dynamic linking and run-time dynamic linking?

2 Answers  


How are data structures handled by ntfs and how does it recover from a crash?

0 Answers  


How does the cpu and the ram communicate?

0 Answers  


What are the stipulations of C2 level security?

1 Answers  


Categories