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