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

Describe Inter Machine Communication?

675


What is significance of semaphores? What are the different types of semaphores?

599


Explain the dual channel architecture?

550


What advantage is there in having different time-quantum sizes on different levels of a multilevel queuing system?

674


What is the basic difference between pre-emptive and non-pre-emptive scheduling.

623






How do I find my os version?

541


How do I make a bootable usb drive?

558


What is operating system and type of operating system?

525


Briefly explain the concept of Virtual Memory.

731


How do I enable blocked content in internet explorer 11?

504


What are the 7 c's of communication?

543


How do I upgrade my excel to 64 bit?

538


What is the current microsoft operating system?

545


How long should a chkdsk take?

509


Is there a 86 bit operating system?

545