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
Is internet explorer still supported?
What replaced ifconfig?
How do I sort files?
What is waiting time?
Explain the different types of fragmentation?
What is the difference between mailbox and queue?
Which is better chkdsk r or f?
Explain the reasons for process suspension?
How do I find my hidden files?
What are the five types of operating system?
Explain about compiler and the functions executed by them?
How do I know if I have a 64 bit processor?
When an input file is opened, what are the possible errors that may occur?
Who is the father of operating system?
What are 3 operating systems?