What is the difference between mutex and semaphore?
Answer Posted / answers
Mutex: Nothing but a binary semaphore.
Mutex definition says "Mutex can lock any number of times,
and also it should unlock any number of times"---meaning,
in re-entrant codes if recursive is used.
In this case it will lock number of times and also should
unlock same number of times.
Semaphore: i think its default-----reeated answers.
| Is This Answer Correct ? | 9 Yes | 23 No |
Post New Answer View All Answers
Tell me what has triggered the need for multitasking in pcs?
Do I need both program files and program files x86?
Define paging and deadlock.
What are the functions of the ram ic`s?
What is memory-management unit (mmu)?
How to stop a long running thread?
How do I check my filesystem?
Tell me what is executive in windows nt?
How does the system detect thrashing? Once it detects thrashing, what can the system do to eliminate this problem?
Can I change operating systems on my laptop?
How many bit is my computer?
What grep means?
What is lxde desktop?
Explain about assembler and the functions executed by them?
What is starvation in operating system?