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

There are 3 major differences between Mutex and Binary
semaphore.....
1. In case of Mutex semaphore the task that had taken the
semaphore can only give it, however in the case of binary
semaphore any task can give the semaphore.

2. Calling SemFlush() function in Mutex is illegal.

3. Mutex Semaphore can not be given from an ISR.

Is This Answer Correct ?    6 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how a TP Monitor manages memory and processor resources more effectively than a typical operating system.

1960


What is the ie tab in google chrome?

1062


Can chkdsk damage a hard drive?

1139


What is external fragmentation?

1146


What are dynamic loading, dynamic linking and overlays?

1159


Will chkdsk repair corrupt files?

1006


What are the necessary conditions for deadlock to occur?

1040


List the possible threads a thread can have?

992


Explain binary semaphore and its functionality.

1047


What are differences between ram and rom?

1160


Differentiate between swapping and paging.

1140


What are the 3 types of operating systems?

1042


Can ram cause blue screen?

986


How do you check your operating system?

1095


What is difference between Process and Thread?

1103