Skip to the content.

Home / cs-notes / Language / Java / Concurrent / Summary / Monitor

Monitor

Background

Model

Issues

Solution

MESA wait

lock { // synchronized or lock.lock()
    while(!condition) {
        wait();
    }
}

When to notify()