Method

GLibRecMutexclear

since: 2.32

Declaration

void
g_rec_mutex_clear (
  GRecMutex* rec_mutex
)

Description

Frees the resources allocated to a recursive mutex with g_rec_mutex_init().

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

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

Available since: 2.32