![]() |
Lumiera 0.pre.04~rc.1
»edit your freedom«
|
Mutual exclusion locking. More...
Go to the source code of this file.
Mutual exclusion locking.
Definition in file mutex.c.
#include "lib/mutex.h"Functions | |
| 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. | |
| LumieraMutex | lumiera_mutex_destroy (LumieraMutex self, struct nobug_flag *flag, const struct nobug_context ctx) |
| Destroy a mutex variable. | |
| 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 |
Definition at line 21 of file mutex.c.
References NULL.
Referenced by lumiera_config_init(), TEST(), TEST(), TEST(), TEST(), and TEST().
Here is the caller graph for this function:| 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.
Referenced by lumiera_config_destroy(), TEST(), TEST(), TEST(), TEST(), and TEST().
Here is the caller graph for this function: