Lumiera
0.pre.03
»edit your freedom«
|
Go to the source code of this file.
Recursive Mutexes.
Definition in file recmutex.c.
#include "lib/recmutex.h"
Functions | |
LumieraRecmutex | lumiera_recmutex_destroy (LumieraRecmutex self, struct nobug_flag *flag, const struct nobug_context ctx) |
Destroy a recursive mutex variable. More... | |
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. More... | |
static void | recmutexattr_init () |
Variables | |
static pthread_mutexattr_t | recmutexattr |
static pthread_once_t | recmutexattr_once = PTHREAD_ONCE_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.
self | is a pointer to the mutex to be initialised |
Definition at line 41 of file recmutex.c.
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 62 of file recmutex.c.
References LUMIERA_DIE.