|
libmetal
|
#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. Before calling this function, the caller should have acquired the mutex. More... | |
| static int | metal_condition_broadcast (struct metal_condition *cv) |
| Notify all waiters. Before calling this function, the caller should have acquired the mutex. More... | |
| int | metal_condition_wait (struct metal_condition *cv, metal_mutex_t *m) |
| Block until the condition variable is notified. Before calling this function, the caller should have acquired the mutex. More... | |