#include <unistd.h>
#include <sys/syscall.h>
#include <linux/futex.h>
#include <metal/atomic.h>
Go to the source code of this file.
◆ METAL_MUTEX_DEFINE
#define METAL_MUTEX_DEFINE |
( |
| m | ) |
|
Value:
#define METAL_MUTEX_INIT(m)
Definition mutex.h:36
◆ METAL_MUTEX_INIT
#define METAL_MUTEX_INIT |
( |
| m | ) |
|
Value:
#define ATOMIC_VAR_INIT(VAL)
Definition atomic.h:33
◆ __metal_mutex_acquire()
◆ __metal_mutex_cmpxchg()
static int __metal_mutex_cmpxchg |
( |
metal_mutex_t * | mutex, |
|
|
int | exp, |
|
|
int | val ) |
|
inlinestatic |
◆ __metal_mutex_deinit()
◆ __metal_mutex_init()
◆ __metal_mutex_is_acquired()
◆ __metal_mutex_release()
◆ __metal_mutex_try_acquire()