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 is resource allocation graph?
Is 32 bit obsolete?
What is the difference between logical address space and physical address space?
What is RR scheduling algorithm?
What is process synchronization?
How can you pause the execution of a Thread for a certain amount of time?
What is the largest ram?
Difference between time sharing and multitasking systems?
Is 100 cpu usage bad?
What is the safest operating system?
How does swapping result in better memory management?
What is tras timing?
What is sock_stream?
Can you please explain the difference between demand-paging and pre-paging?
Explain the difference between logical & physical address.