Topic
Free account · your comment posts right after signup
Top videos
Not who you're looking for? Others named monitor: Non-departmental public body of the United Kingdom governmen · British TV series · unincorporated community in Oregon · unincorporated community in Logan County, West Virginia
In concurrent programming, a monitor is a synchronization construct that allows threads to have both mutual exclusion and the ability to wait (block) for a certain condition to become false. Monitors also have a mechanism for signaling other threads that their condition has been met. A monitor consists of a mutex (lock) object and condition variables. A condition variable is essentially a container of threads that are waiting for a certain condition. Monitors provide a mechanism for threads to temporarily give up exclusive access in order to wait for some condition to be met, before regaining exclusive access and resuming their task.