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 is the relationship between page size and page table?
What is the x86 folder?
What is trp timing?
How can I tell what devices are connected to my usb?
List the Coffman's conditions that lead to a deadlock?
2 Answers Cap Gemini, HCL, HP,
Explain a drawback of mvt?
What grep means?
Why do we need inter process communication?
What is tty stand for?
What is busy waiting?
Explain any program using Semaphores.
How does ecc works?