What is the difference between mutex and semaphore?
Answer Posted / rabia
well its true that mutex is a binary semaphore having value
1 or 0
but mutex also define that when a producer is producing
something consumer is not allowed to consume at that
time.........
where as semaphore is the locking mechanism which have non
negative integers
| Is This Answer Correct ? | 10 Yes | 14 No |
Post New Answer View All Answers
How do I find recently downloaded files?
What do you mean by memory leak?
How do I force a program to close?
What is the maximum ram for a 64 bit operating system?
What is the advantage of a multiprocessor system?
How do I find my os version?
Do you know what is a binary semaphore? What is its use?
What are device drivers?
What is banker's algorithm?
Describe the Operating System concept of Fragmentation
Explain the difference between trap and trapdoor?
How does DMA increase system concurrency? How does it complicate hardware design?
Explain the difference between demand-paging and pre-paging?
Explain what are device drivers used for?
What is a sector?