A monitor is the most basic synchronization construct.
Any object can have a monitor associated with it, and no monitor can be associated with more than one object.
Monitors have a “lock,” which may be acquired by only one thread at a time. It must be released by that thread before another thread can acquire it.
You can [...]
Filed under: Threading | Tagged: Monitor, Thread | Leave a Comment »