|
Very Simple Kernel 0.1.0
|
#include <stdint.h>Go to the source code of this file.
Data Structures | |
| struct | vsk_CriticalSection |
| Critical section. More... | |
Typedefs | |
| typedef struct vsk_CriticalSection | vsk_CriticalSection_t |
| Critical section. | |
| typedef void(* | vsk_CriticalSection_OnEnter_t) (void) |
| On enter callback. | |
| typedef void(* | vsk_CriticalSection_OnExit_t) (void) |
| On exit callback. | |
Functions | |
| vsk_CriticalSection_t * | vsk_CriticalSection_init (vsk_CriticalSection_t *const self, vsk_CriticalSection_OnEnter_t const onEnter, vsk_CriticalSection_OnExit_t const onExit) |
| Initializes the critical section. | |
| void | vsk_CriticalSection_enter (vsk_CriticalSection_t *const self) |
| Enters a critical section. | |
| void | vsk_CriticalSection_exit (vsk_CriticalSection_t *const self) |
| Exits a critical section. | |
Variables | |
| vsk_CriticalSection_t | vsk_CriticalSection |
| Critical section instance. | |