new

fun new(): Cond(source)

⚠️ Deprecated ⚠️

This is deprecated since version 2.32.

GCond can now be statically allocated, or embedded in structures and initialised with g_cond_init().

Allocates and initializes a new #GCond.

Return

a newly allocated #GCond. Free with g_cond_free()