Cond.wait

Waits until this thread is woken up on cond. The mutex is unlocked before falling asleep and locked again before resuming. This function can be used even if g_thread_init() has not yet been called, and, in that case, will immediately return.

class Cond
void
wait

Parameters

mutex Mutex

a GMutex, that is currently locked.

Meta