|
PatchworkOS
966e257
A non-POSIX operating system.
|
#include <kernel/cpu/syscall.h>#include <kernel/log/log.h>#include <kernel/proc/process.h>#include <kernel/sched/sched.h>#include <kernel/sched/clock.h>#include <kernel/sched/thread.h>#include <kernel/sched/timer.h>#include <kernel/sched/wait.h>#include <kernel/sync/futex.h>#include <kernel/sync/lock.h>#include <kernel/utils/map.h>#include <errno.h>#include <stdlib.h>Go to the source code of this file.
Functions | |
| void | futex_ctx_init (futex_ctx_t *ctx) |
| Initialize a per-process futex context. | |
| void | futex_ctx_deinit (futex_ctx_t *ctx) |
| Deinitialize a per-process futex context. *. | |
| static futex_t * | futex_ctx_get (futex_ctx_t *ctx, void *addr) |
| SYSCALL_DEFINE (SYS_FUTEX, uint64_t, atomic_uint64_t *addr, uint64_t val, futex_op_t op, clock_t timeout) | |
|
static |