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 last?
Should I use x86 or x64?
What was the last 32 bit processor?
What is interrupt table?
What is deadlock? Explain.
What is the cache memory?
What is resource allocation graph?
What is the most used operating system in the world?
Explain some memory components.
What are necessary conditions for dead lock?
Is vmware a hypervisor?
What is fragmentation? Different types of fragmentation?