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
What does a 64 bit processor mean?
Explain briefly about linker and its functioning?
How can the speed of interrupt driven input output systems be improved?
Explain what are device drivers used for?
What kind of memory is a ram categorized as?
What are old chkdsk files?
What are the major differences between Thread and Process?
What do you mean by threads in Operating System?
Can you tell me the difference between semaphore and mutex.
What is a socket?
List the possible threads a thread can have?
At what mode the fault handler executes?
What is the maximum ram for a 64 bit operating system?
Explain what you mean by memory alignment.
What is the main difference between wait() and sleep() method?