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

Is it possible to have a deadlock involving only one process? Explain your answer.

561


Define Operating System Types.

599


Explain accessors to a layman.

673


Who made the first 64 bit processor?

529


What is synchronously and asynchronously?

521






How do I unhide a file?

587


What is context-switching in multi-threading?

567


What is a full form of ok?

537


What is turnaround time?

574


What is storage management in operating system?

642


Where the user store resides in OS?

591


Can you run 32 bit applications on a 64 bit operating system?

470


Explain turnaround time and response time?

585


What is the advantage of a multiprocessor system?

489


Can ram cause blue screen?

553