Cond.init

Initialises a glib.Cond so that it can be used.

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

To undo the effect of Cond.init when a glib.Cond is no longer needed, use Cond.clear.

Calling Cond.init on an already-initialised glib.Cond leads to undefined behaviour.

class Cond
void
init
()

Meta

Since

2.32