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

What is the difference between mutex and semaphore?

Answer Posted / answers

Mutex: Nothing but a binary semaphore.
Mutex definition says "Mutex can lock any number of times,
and also it should unlock any number of times"---meaning,
in re-entrant codes if recursive is used.

In this case it will lock number of times and also should
unlock same number of times.

Semaphore: i think its default-----reeated answers.

Is This Answer Correct ?    9 Yes 23 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How you can check whether a machine is 64 bit or 32 bit?

1077


What is the ie tab in google chrome?

1109


How do you fix a blue screen?

1048


What are dynamic loading, dynamic linking and overlays?

1216


Tell me about virtual memory?

1092


What is the purpose of hard disk?

1119


How do I make a bootable usb drive?

1085


Which event determines that all the controls are completely loaded into memory?

1134


What is Direct Access Method?

1146


Is a directory a regular file?

1061


What do you know about a pipe? When is it used?

1039


How are the wait/signal operations for monitor different from those for semaphores?

1127


What are the major differences between Thread and Process?

1455


What is a volatile keyword?

1172


What is the sequence of the three way handshake?

1030