The GRecMutex struct is an opaque data structure to represent a recursive mutex. It is similar to a glib.Mutex 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.
Undocumented in source.