|
Zephyr API Documentation 4.5.99
A Scalable Open Source RTOS
|
#include <zephyr/kernel.h>#include <zephyr/sys/atomic.h>#include <zephyr/types.h>#include <zephyr/sys/clock.h>Go to the source code of this file.
Data Structures | |
| struct | sys_mutex |
| Userspace mutex. More... | |
Macros | |
| #define | SYS_MUTEX_DEFINE(name) |
| Statically define and initialize a sys_mutex. | |
Functions | |
| void | sys_mutex_init (struct sys_mutex *mutex) |
| Initialize a mutex. | |
| int | sys_mutex_lock (struct sys_mutex *mutex, k_timeout_t timeout) |
| Lock a mutex. | |
| int | sys_mutex_unlock (struct sys_mutex *mutex) |
| Unlock a mutex. | |