libmetal
|
#include <metal/atomic.h>
#include <metal/errno.h>
#include <stddef.h>
#include <stdint.h>
Go to the source code of this file.
Data Structures | |
struct | metal_condition |
Macros | |
#define | METAL_CONDITION_INIT { ATOMIC_VAR_INIT(0), ATOMIC_VAR_INIT(0) } |
Functions | |
static void | metal_condition_init (struct metal_condition *cv) |
static int | metal_condition_signal (struct metal_condition *cv) |
static int | metal_condition_broadcast (struct metal_condition *cv) |
#define METAL_CONDITION_INIT { ATOMIC_VAR_INIT(0), ATOMIC_VAR_INIT(0) } |
Static metal condition variable initialization.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
wake up waiters if there are any.