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 |
What are the reasons for process termination?
How do I clean up program files?
Which is better chkdsk r or f?
What is a rootkit virus?
What do you mean by a semaphore?
What are the different types of scheduling algorithms?
What is live boot?
What are the different types of fragmentation?
Who was the discover Mouse & When.?
When does thrashing occur?
Difference between Primary storage and secondary storage?
How to take backup using active directory recyclebin concept