Method

GLibMutexclear

Declaration

void
g_mutex_clear (
  GMutex* mutex
)

Description

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.

Sine: 2.32