![]() |
Lumiera 0.pre.04
»edit your freedom«
|
Mutex state handle for locked code sections. More...
Go to the source code of this file.
Mutex state handle for locked code sections.
Definition in file sectionlock.h.
#include <pthread.h>#include <nobug.h>Macros | |
| #define | LUMIERA_SECTION_UNLOCK_(section) |
| Unlock the lock hold in a SECTION. | |
Typedefs | |
| typedef void(* | lumiera_sectionlock_unlock_fn) (void *, struct nobug_flag *flag, struct nobug_resource_user **handle, const struct nobug_context ctx) |
Classes | |
| struct | LumieraSectionlock |
| sectionlock used to manage the state of mutexes. More... | |
Functions | |
| static void | lumiera_sectionlock_ensureunlocked (LumieraSectionlock self) |
| typedef void(* lumiera_sectionlock_unlock_fn) (void *, struct nobug_flag *flag, struct nobug_resource_user **handle, const struct nobug_context ctx) |
Definition at line 25 of file sectionlock.h.
| #define LUMIERA_SECTION_UNLOCK_ | ( | section | ) |
Unlock the lock hold in a SECTION.
| sectionname | name used for the sectionlock instance |
| ... | some extra code to execute |
Definition at line 57 of file sectionlock.h.
|
inlinestatic |
Definition at line 45 of file sectionlock.h.