RWLock.clear

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

This function should not be used with a glib.RWLock that has been statically allocated.

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

Sine: 2.32

class RWLock
void
clear
()