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 / swetcha

The only real difference between a Semaphore and a Mutex is
that a Semaphore can have a count > 1. While a mutex will
only let one owner attempt access, a Semaphore can be
assigned a number and allow "x" number of threads access.


..........Let me know if it's wrong!

Is This Answer Correct ?    31 Yes 18 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define trashing?

1155


How do I check for memory leaks?

1279


When an input file is opened, what are the possible errors that may occur?

1105


What is the meaning of busy spin in multi-threading?

1070


When does trashing occur?

1060


Can I use x86 on 64bit?

1027


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

1134


List advantages and disadvantages of dynamic memory allocation vs. static memory allocation.?

1223


When does stack (process stack) overflow? What are the remedies?

1128


What is the purpose of the command interpreter? Why is it usually separate from the kernel?

1350


What is sock_seqpacket?

1176


What is the Difference between a process and a thread?

1140


Can chkdsk get stuck?

1025


Can bad sectors cause blue screen?

1053


What are the 5 stages of chkdsk?

1068