* Calling g_mutex_clear() on a locked mutex leads to undefined
* behaviour.
*
- * Since: 2.32
+ * Sine: 2.32
*/
void
g_mutex_clear (GMutex *mutex)
{
g_mutex_impl_free (mutex->p);
- mutex->p = NULL;
}
/**
g_rec_mutex_clear (GRecMutex *rec_mutex)
{
g_rec_mutex_impl_free (rec_mutex->p);
- rec_mutex->p = NULL;
}
/**
g_rw_lock_clear (GRWLock *rw_lock)
{
g_rw_lock_impl_free (rw_lock->p);
- rw_lock->p = NULL;
}
/**
g_cond_clear (GCond *cond)
{
g_cond_impl_free (cond->p);
- cond->p = NULL;
}
/**
g_rec_mutex_clear (GRecMutex *mutex)
{
g_rec_mutex_impl_free (mutex->p);
- mutex->p = NULL;
}
void