Notifies (wakes up) one waiting thread.
The thread wil return from the wait() method and can then check the condition.