What is the difference between mutex and semaphore?

Answer Posted / rajesh aki

Mutex can be released only by the thread that had acquired
it where as in semaphore any thread can signal the
semaphore to release the critical section.

Is This Answer Correct ?    13 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How does the system detect thrashing?

664


Stable storage cannot be implemented. (A) Explain why it cannot be. (B) Explain how database system deal with database applications

1702


Explain briefly about compiler and its functioning?

603


What is the difference between internal commands and external commands?

562


Which is the best operating system in the world?

532






What is operating system give two examples?

529


What is the main purpose of an operating system?

558


Can chkdsk damage a hard drive?

622


Which os is best for coding?

527


Can you have both 32 bit and 64 bit excel?

509


How to find the number of SIMM Pins

625


What is the purpose of ram in a computer?

595


What is an immutable object? How can it help in writing a concurrent application?

545


Can you fix blue screen of death?

521


What do you mean by parallel processing?

570