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

What is a Real Time Operating System? Elaborate.

1212


What first program that the computer runs when the power is turn on?

1069


Explain condition variable.

1014


What are the major differences between Thread and Process?

1361


Tell me what are the rings in windows nt?

1095


Can you fix blue screen of death?

971


While running DOS on a PC, which command would be used to duplicate the entire diskette?

5019


How long does chkdsk take to run?

1024


How do I know if I have a 64 bit processor?

1003


What are the 3 types of software?

1016


How do I cancel chkdsk scan?

1125


Why is ram also known as volatile memory?

1183


What is lts in node js?

1092


Is sae same as af?

961


What are the different types of CPU registers in a typical operating system design?

1065