What is the difference between mutex and semaphore?
Answer Posted / rohit
Apart from counting behaviour the biggest differnce is in
scope of mutex and semaphore. Mutex have process scope that
is it is valid within a process space and can be used for
thread synchronization (hence light weight), semaphore are
can be used accross process space and hence can be used for
inter process synch.
However on RTOS this distinction is not applicable due to
flat process space hence only semaphores are supported on
typical RTOS.
Is This Answer Correct ? | 31 Yes | 4 No |
Post New Answer View All Answers
How does disk operating system work?
How do I know if my ram is corrupted?
What is virtual memory and where it exhist ?
How to recovery from deadlock?
How do I copy a path to a shared drive?
What do you mean by parallel processing?
What is the code of mobile?
How much ram do I need laptop?
Define max, min heap and search time of heap.
How are data structures handled by ntfs and how does it recover from a crash?
List the sub-components of i/o manager in windows nt?
What are a virtual machines and site their advantages?
Throw some light on internal process memory.
How do I search for excel files on my computer?
What grep means?