glib.RecMutex

Public Imports

glib.c.types
public import glib.c.types;
gtkc.glibtypes
public import gtkc.glibtypes;

Members

Classes

RecMutex
class RecMutex

The GRecMutex struct is an opaque data structure to represent a recursive mutex. It is similar to a GMutex with the difference that it is possible to lock a GRecMutex multiple times in the same thread without deadlock. When doing so, care has to be taken to unlock the recursive mutex as often as it has been locked.