which is best among semaphores and mutexes?
Answers were Sorted based on User's Feedback
Answer / 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 |
How long does chkdsk take to run?
Why would a parent process terminate a child process?
How do I cancel chkdsk scan?
How does the system detect thrashing?
What is the cause of thrashing?
How do I install operating system?
Explain about Operating System Security?
Explain the concept of the multi-processor systems or parallel systems?
What are the advantages of multiprocessor system?
Difference between Primary storage and secondary storage?
What is run level 1?
What are the 3 types of operating systems?