Answer Posted / ankit tripathi
We should always go for mutex lock as compared to semaphore
lock when it comes for a Multithreaded program(exclusion
b/w threads) and when we do not want exclusion b/w process,
the reason is that mutex is not an IPCS and any other
program cannot effect it, moreover you need not to create
an IPC Key and all those stuffs.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is a Real Time Operating System? Elaborate.
What first program that the computer runs when the power is turn on?
Explain condition variable.
What are the major differences between Thread and Process?
Tell me what are the rings in windows nt?
Can you fix blue screen of death?
While running DOS on a PC, which command would be used to duplicate the entire diskette?
How long does chkdsk take to run?
How do I know if I have a 64 bit processor?
What are the 3 types of software?
How do I cancel chkdsk scan?
Why is ram also known as volatile memory?
What is lts in node js?
Is sae same as af?
What are the different types of CPU registers in a typical operating system design?