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
Explain Round Robin.
Why is it called program files x86?
What is process synchronization?
How are data structures handled by ntfs?
How do I enable blocked content in internet explorer 11?
What is LiveLock?
Why is it that a single, all – encompassing metric cannot be developed for programme complexity or programme quality?
What is the meaning of Thread Priority?
How do I dual boot my pc?
What is Throughput, Turnaround time, waiting time and Response time?
Which are the necessary conditions to achieve a deadlock?
Explain the concept of deadlocks? Why they are used?
Explain a drawback of mvt?
What is the difference between logical address space and physical address space?
Explain thread.