What is the difference between mutex and semaphore?

Answer Posted / drp3

you are partly right,but you must mention mutex is binary
semaphore.
Shemaphores are of two types , binary and counting.counting
shemaphore can range over an unrestricted domain ,where as
binary semaphore which is also known as mutex can range
between 0 and 1.

Is This Answer Correct ?    40 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How much ram can xp handle?

529


Can overheating cause blue screen of death?

576


Is 100 cpu usage bad?

549


What is the maximum ram for a 64 bit operating system?

540


Explain the different types of fragmentation?

714






Explain the resident set and working set of a process?

571


What is dining philosophers’ problem?

592


What is the Difference between Loading and Linking ?

15476


Explain about loader and the functions executed by them?

568


Explain about compiler and the functions executed by them?

595


Who invented os?

575


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

577


Tell us something about mutex.

622


Describe system calls and its type

600


How is the maximum addressable memory calculated?

572