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 do an incremental process model and certification work together to produce high quality software? In your own words, describe the intent of certification in the clean room software engineering context.

1409


Is it ok to interrupt chkdsk?

541


What is Page-Stealer process?

725


What is the purpose of hard disk?

603


How do I find my hidden files?

548






What are the advantages of a multiprocessor system?

520


Can you list the coffman's conditions that lead to a deadlock?

645


Explain 32 bit application/OS vs 64 application/OS?

503


Define multics?

582


What mean operating system?

520


What is banker's algorithm?

575


How does the system detect thrashing?

659


What is the use of Synchronized keyword?

574


Hi All, Can any one post a MS-DOS command/ utility tool, that modifies large size(nGBs) log file into MBs form the begining of log file? I will appreciate if any one give correct answer to this question. Thanks

1438


Where the user store resides in OS?

585