What is the difference between mutex and semaphore?
Answer Posted / ravichand
There are 3 major differences between Mutex and Binary
semaphore.....
1. In case of Mutex semaphore the task that had taken the
semaphore can only give it, however in the case of binary
semaphore any task can give the semaphore.
2. Calling SemFlush() function in Mutex is illegal.
3. Mutex Semaphore can not be given from an ISR.
| Is This Answer Correct ? | 6 Yes | 9 No |
Post New Answer View All Answers
What is the context switch?
What is disk operating system in computer?
What do you understand by coding schemes?
What are the four common types of files?
Explain Page Segmentation.
Will chkdsk repair corrupt files?
Which is faster shared memory or message passing?
Is internet explorer still supported?
Explain some memory components.
What killed mandla maseko?
What is the purpose of system programs?
What do you understand by transaction atomicity?
How do I find the path to a file?
Is 32 gb ram enough for gaming?
What resources are used when a thread created? How do they differ from those when a process is created?