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
Define demand paging?
How do I empty my mac cache?
What is GRUB?
Tell me the difference between yielding and sleeping?
How do I fix error 429?
What is the trtw/trwt timing?
Explain various types of scheduling in operating system.
Tell me operating systems used in mobile.
Is it possible to have a deadlock involving only one process? Explain your answer.
Define max, min heap and search time of heap.
What are the methods for handling deadlocks?
What do you understand by system clock?
What is ie tab in chrome?
What are the steps involved in following a particular instruction given by the cpu?
Describe the Operating System concept of Fragmentation