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
Explain segmentation with paging?
Explain how a copying garbage collector works. How can it be implemented using semispaces?
How to take backup using active directory recyclebin concept
What problems are faced during the implementation of a network-transparent system?
Who is the father of os?
How do I remove prime os from my pc?
How many types of os are there?
Is x86 better than x64?
Differentiate internal commands from external commands.
What is the difference between af_inet and pf_inet?
Which is better chkdsk r or f?
How do you start a startup?
What is the trc timing?
What is a bootloader?
Different types of real-time scheduling?