Method

GLibMutexclear

since: 2.32

Declaration [src]

void
g_mutex_clear (
  GMutex* mutex
)

Description [src]

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.

Available since: 2.32