RWLock.clear
void clear()Frees the resources allocated to a lock with [glib.rwlock.RWLock.init_].
This function should not be used with a #GRWLock that has been statically allocated.
Calling [glib.rwlock.RWLock.clear] when any thread holds the lock leads to undefined behaviour.