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
Is 64 bit excel faster?
Write a function that responds to a click anywhere on the page by displaying an alert dialog. Display the event name if the user held Shift during the mouse click. Display the element name that triggered the event if the user held Ctrl during the mouse click.
Difference between logical and physical address space?
Can two different ram speed modules be used together?
What are the 7 elements of communication?
What are the ways in which fault tolerance can be ensured in systems? (Different redundancy techniques)?
What are differences between ram and rom?
Where are chkdsk logs stored?
What is the code of mobile?
Which vpn protocol is best?
How to sync two threads in multithreaded application?
Can I upgrade my cpu from 32 to 64 bit?
Explain the meaning of kernal.
What happens if you install 64 bit on 32?
What is mutual exclusion and multithreading in OS?