Cond.init_

void init_()

Initialises a #GCond so that it can be used.

This function is useful to initialise a #GCond that has been allocated as part of a larger structure. It is not necessary to initialise a #GCond that has been statically allocated.

To undo the effect of [glib.cond.Cond.init_] when a #GCond is no longer needed, use [glib.cond.Cond.clear].

Calling [glib.cond.Cond.init_] on an already-initialised #GCond leads to undefined behaviour.