![]() |
Lumiera 0.pre.04~rc.1
»edit your freedom«
|
Recursive Mutexes. More...
Go to the source code of this file.
Recursive Mutexes.
Definition in file recmutex.c.
#include "lib/recmutex.h"Functions | |
| static void | recmutexattr_init () |
| LumieraRecmutex | lumiera_recmutex_init (LumieraRecmutex self, const char *purpose, struct nobug_flag *flag, const struct nobug_context ctx) |
| Initialise a recursive mutex variable Initialises a 'recursive' mutex which might be locked by the same thread multiple times. | |
| LumieraRecmutex | lumiera_recmutex_destroy (LumieraRecmutex self, struct nobug_flag *flag, const struct nobug_context ctx) |
| Destroy a recursive mutex variable. | |
Variables | |
| static pthread_once_t | recmutexattr_once = PTHREAD_ONCE_INIT |
| static pthread_mutexattr_t | recmutexattr |
|
static |
Definition at line 24 of file recmutex.c.
References recmutexattr.
Referenced by lumiera_recmutex_init().
Here is the caller graph for this function:| LumieraRecmutex lumiera_recmutex_init | ( | LumieraRecmutex | self, |
| const char * | purpose, | ||
| struct nobug_flag * | flag, | ||
| const struct nobug_context | ctx | ||
| ) |
Initialise a recursive mutex variable Initialises a 'recursive' mutex which might be locked by the same thread multiple times.
| self | is a pointer to the mutex to be initialised |
Definition at line 32 of file recmutex.c.
References recmutexattr, recmutexattr_init(), and recmutexattr_once.
Referenced by lumiera_interfaceregistry_init(), and TEST().
Here is the call graph for this function:
Here is the caller graph for this function:| LumieraRecmutex lumiera_recmutex_destroy | ( | LumieraRecmutex | self, |
| struct nobug_flag * | flag, | ||
| const struct nobug_context | ctx | ||
| ) |
Destroy a recursive mutex variable.
| self | is a pointer to the mutex to be destroyed |
Definition at line 53 of file recmutex.c.
References LUMIERA_DIE.
Referenced by lumiera_interfaceregistry_destroy(), and TEST().
Here is the caller graph for this function:
|
static |
Definition at line 21 of file recmutex.c.
Referenced by lumiera_recmutex_init().
|
static |
Definition at line 22 of file recmutex.c.
Referenced by lumiera_recmutex_init(), and recmutexattr_init().