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?

Answers were Sorted based on User's Feedback



What is the difference between mutex and semaphore?..

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

What is the difference between mutex and semaphore?..

Answer / rabia

well its true that mutex is a binary semaphore having value
1 or 0
but mutex also define that when a producer is producing
something consumer is not allowed to consume at that
time.........
where as semaphore is the locking mechanism which have non
negative integers

Is This Answer Correct ?    10 Yes 14 No

What is the difference between mutex and semaphore?..

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

What is the difference between mutex and semaphore?..

Answer / rasmi mishra

Mutex is the bonary semaphore.

Is This Answer Correct ?    9 Yes 30 No

Post New Answer

More Operating Systems General Concepts Interview Questions

Explain the concept of the timesharing operating systems?

0 Answers  


How much ram do I need laptop?

0 Answers  


How many Logical ports are available in OS? eg.23 for Telnet like this what is total number of available ports?

2 Answers   eClinicalWorks,


How do I enable blocked content in internet explorer 11?

0 Answers  


What is the difference between ram and cache memory?

0 Answers  


Explain the resident set and working set of a process?

0 Answers  


Hi Freinds, Any body is wotking as System Administrator, Please mail me rakesh.kesh881@gmail.com

0 Answers  


An Infosys Question : I + Opposite of, W + Initial of, Ice + twice of the letter b4T + 3/4 of X + 15th letter + 1/2 of 0. Please find the answer & mail me

21 Answers   HCL, Infosys, Instagram, Nokia, Oracle, Sun Business Solutions,


What are the 4 major types of operating system?

0 Answers  


How many gb is an operating system?

0 Answers  


how many types of operating system?

18 Answers   IBM,


What is a device queue?

0 Answers  


Categories