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
Will chkdsk delete my files?
What is starvation os?
What are differences between ram and rom?
What is a safe state and its’ use in deadlock avoidance?
What is the difference between mailbox and queue?
How do I use i3?
Tell me something about the concept of memory leak?
What is buffered ram?
Explain turnaround time and response time?
Explain the concept of the timesharing operating systems?
What are the differences between Real Time Operating System (RTOS) and General Purpose Operating Systems (GPOS)?
Give the disadvantages of Havander's Strategies.
Explain about Different types of real-time scheduling?
What are the 3 types of operating systems?
What is a ready queue?