clear

fun clear()

Frees the resources allocated to a lock with g_rw_lock_init().

This function should not be used with a #GRWLock that has been statically allocated.

Calling g_rw_lock_clear() when any thread holds the lock leads to undefined behaviour.

Sine: 2.32