Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

There are lots of information in the internet for Semaphore, Mutex, etc. But as far as I've searched, there isn't a clear info available on Monitors.

I know that a Mutex helps in Mutual exclusion between processes. A binary semaphore also does similar function. Then what is the use of introducing a new concept called Monitor.

What does it actually do that makes it so special?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

A Monitor is a more simple locking technique which allows resource lock between threads of a single process, while Mutex and Semaphore allows inter-process resource locking.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.