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
Tell me what has triggered the need for multitasking in pcs?
For a deadlock to occur what are the necessary conditions
Explain the concept of the batched operating systems?
Who made the first 64 bit processor?
Will chkdsk delete my files?
What are the operating system types?
What items of information about a task might be useful in real time scheduling?
Will my laptop run faster with more ram?
Hello this is gaurav garg I have completed BCA. plz TEll me how will ask question in interview.
How do I unhide a file?
What is tras timing?
What are the major differences between Thread and Process?
How do I use i3?
What are the three types of file system?
Can ram cause blue screen?