Condition variable for libmetal. More...
#include <metal/mutex.h>#include <metal/utilities.h>#include <metal/system/@PROJECT_SYSTEM@/condition.h>Go to the source code of this file.
Functions | |
| static void | metal_condition_init (struct metal_condition *cv) |
| Initialize a libmetal condition variable. More... | |
| static int | metal_condition_signal (struct metal_condition *cv) |
| Notify one waiter. More... | |
| static int | metal_condition_broadcast (struct metal_condition *cv) |
| Notify all waiters. More... | |
| int | metal_condition_wait (struct metal_condition *cv, metal_mutex_t *m) |
| Block until the condition variable is notified. More... | |
Condition variable for libmetal.