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

What is ThreadPool?

623


What is the basic function of paging?

733


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

1457


How is the total memory on a ram stick calculated?

624


What is the difference between shared memory and message passing?

553






What are the functions of the ram ic`s?

584


How can I boot from usb?

574


What is an operating system on a computer?

557


Explain busy waiting in operating system (os)?

577


How long should a chkdsk take?

522


Some omeone on campus calls and says they have a new Mac. They've just pulled it out of the box and want to plug it into the campus network. What might they need to set to make this work?

679


What is system bus? Explain a few related terms.

610


Binding of instructions and data to memory?

682


When would you choose bottom-up methodology?

2126


How can a vfs layer allow multiple file systems support?

545