Tags

links:
http://www.csc.villanova.edu/~mdamian/threads/javamonitors.html

summary:
– synchronize on same object only
– wait would release monitor
– notify would let one of the waiting thread to get the monitor
– notifyall would inform all waiting threads, and they competes for the monitor

Advertisements