Recursive Mutex for thread synchronization. More...
Go to the source code of this file.
Data Structures | |
struct | rmutex_t |
Mutex structure. More... | |
Macros | |
#define | RMUTEX_INIT { MUTEX_INIT, 0, KERNEL_PID_UNDEF } |
Static initializer for rmutex_t. | |
Typedefs | |
typedef struct rmutex_t | rmutex_t |
Mutex structure. | |
Functions | |
static void | rmutex_init (rmutex_t *rmutex) |
Initializes a recursive mutex object. | |
int | rmutex_trylock (rmutex_t *rmutex) |
Tries to get a recursive mutex, non-blocking. | |
void | rmutex_lock (rmutex_t *rmutex) |
Locks a recursive mutex, blocking. | |
void | rmutex_unlock (rmutex_t *rmutex) |
Unlocks the recursive mutex. | |