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
Are there any problems that the cpu faces? Have any measures been taken to make it more efficient?
Explain what is meant by heap?
Explain the concept of the distributed systems?
What is the cause of thrashing? How does the system detect thrashing?
Explain how a TP Monitor manages memory and processor resources more effectively than a typical operating system.
Give a non-computer example of preemptive and non-preemptive scheduling?
Why do we need threads?
What is raid? What are the different raid levels?
what is the memory wall problem?
Will chkdsk fix corrupt files?
How much ram can you put in a 64 bit system?
What is a cache memory?
What was microsoft's first operating system?
What is operating system and examples?
How much ram do I have?