Class Methods

Creates a new condition variable instance.

Instance Methods

Wakes up all threads waiting for this lock.

Wakes up the first thread in line waiting for this lock.

Releases the lock held in mutex and waits; reacquires the lock on wakeup.

If timeout is given, this method returns after timeout seconds passed, even if no other thread doesn’t signal.