Java Concurrency - Part 5 : Monitors (Locks and Conditions) | @Blog("Baptiste Wicht")
Monitors are an other mechanism of concurrent programming. It's a higher level mechanism than semaphores and also more powerful. A monitor is an instance of a class that can be used safely by several threads. All the methods of a monitor are executed with mutual exclusion. So at most one thread can execute a method of the monitor at the same time. This mutual exclusion policy makes easier to work with monitor and to develop the method content of the monitor.
Read full article from Java Concurrency - Part 5 : Monitors (Locks and Conditions) | @Blog("Baptiste Wicht")
No comments:
Post a Comment