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 are pages?
What is interprocess communication in os?
What are differences between ram and rom?
What are the advantages of a multiprocessor system?
Who is the father of operating system?
What are 3 operating systems?
Does 64 bit require uefi bios?
Explain how a copying garbage collector works. How can it be implemented using semispaces?
What is multi tasking, multi programming and multi threading?
What is Throughput, Turnaround time, waiting time and Response time?
Does dual boot affect performance?
Throw some light on internal process memory.
What are the different states of a process?
What is the 4 layer model?
What are the advantages of multiprocessor system?