|
libclod
C library for interacting with NBTs, region files, LOD data and other things.
|
#include <clod/lib.h>Go to the source code of this file.
Enumerations | |
| enum | clod_futex_error { CLOD_FUTEX_OK = 0 , CLOD_FUTEX_INVALID = 1 , CLOD_FUTEX_INTERRUPT = 2 } |
Functions | |
| enum clod_futex_error | clod_futex_wait (const int *ptr, int expected, int64_t timeout_us) |
| enum clod_futex_error | clod_futex_wake_one (const int *ptr) |
| enum clod_futex_error | clod_futex_wake_all (const int *ptr) |
Methods relating to futexes. For example, clod/thread.h uses this to implement some synchronisation primitives.
Definition in file futex.h.
| enum clod_futex_error |
| enum clod_futex_error clod_futex_wait | ( | const int * | ptr, |
| int | expected, | ||
| int64_t | timeout_us ) |
| enum clod_futex_error clod_futex_wake_one | ( | const int * | ptr | ) |
| enum clod_futex_error clod_futex_wake_all | ( | const int * | ptr | ) |