Lumiera
0.pre.03
»edit your freedom«
|
Go to the source code of this file.
Mutual exclusion locking.
Definition in file mutex.c.
#include "lib/mutex.h"
Functions | |
LumieraMutex | lumiera_mutex_destroy (LumieraMutex self, struct nobug_flag *flag, const struct nobug_context ctx) |
Destroy a mutex variable. More... | |
LumieraMutex | lumiera_mutex_init (LumieraMutex self, const char *purpose, struct nobug_flag *flag, const struct nobug_context ctx) |
Initialise a mutex variable This initialises a 'fast' default mutex which must not be locked recursively from one thread. More... | |
LumieraMutex lumiera_mutex_init | ( | LumieraMutex | self, |
const char * | purpose, | ||
struct nobug_flag * | flag, | ||
const struct nobug_context | ctx | ||
) |
Initialise a mutex variable This initialises a 'fast' default mutex which must not be locked recursively from one thread.
self | is a pointer to the mutex to be initialised |
purpose | textual hint for the nobug resourcetracker |
flag | nobug logging target |
LumieraMutex lumiera_mutex_destroy | ( | LumieraMutex | self, |
struct nobug_flag * | flag, | ||
const struct nobug_context | ctx | ||
) |
Destroy a mutex variable.
self | is a pointer to the mutex to be destroyed |
flag | nobug logging target |
Definition at line 39 of file mutex.c.
References LUMIERA_DIE.