clear

fun clear()

Frees the resources allocated to a mutex with g_mutex_init().

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

Calling g_mutex_clear() on a locked mutex leads to undefined behaviour.

Since

2.32