Method

GLibMutexunlock

Declaration [src]

void
g_mutex_unlock (
  GMutex* mutex
)

Description [src]

Unlocks mutex. If another thread is blocked in a g_mutex_lock() call for mutex, it will become unblocked and can lock mutex itself.

Calling g_mutex_unlock() on a mutex that is not locked by the current thread leads to undefined behaviour.