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?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How much ram do I need?

857


Is 32gb of ram overkill?

938


How much ram do I need for excel?

942


How do I turn off programs running in the background?

877


What is 64 bit platform?

969


Explain thrashing.

923


Is there a 64 bit version of office 365?

876


Can I move programs from c drive to d?

862


What are 4 types of operating systems?

1014


What are a virtual machines and site their advantages?

1086


When is a system in a safe state?

1035


What is the code of mobile?

884


What is the Difference between Loading and Linking ?

16875


What do you understand by the term ‘transistors’?

924


Explain the different types of fragmentation?

1087