23 logw(
"condvar",
"CondVar namespace overflow!");
void sc_handle_locking_create_condvar(uint64_t *cv, uint64_t *e)
void sc_handle_locking_signal_condvar(uint64_t condvar, uint64_t amount, uint64_t *e)
static uint64_t next_condvar
void sc_handle_locking_destroy_condvar(uint64_t condvar, uint64_t *e)
void sc_handle_locking_wait_condvar(uint64_t condvar, uint64_t timeout, uint64_t *e)
uint64_t wait_count
Number of processes currently waiting on this condvar.
#define logd(component, fmt,...)
#define logw(component, fmt,...)
void scheduler_wait_for(pid_t pid, enum wait_reason reason, union wait_data data)
void scheduler_waitable_done(enum wait_reason reason, union wait_data data, size_t max_amount)
tpa_t * tpa_new(allocator_t *alloc, uint64_t entry_size, uint64_t page_size, tpa_t *tpa)
void * tpa_get(tpa_t *tpa, uint64_t idx)
void tpa_set(tpa_t *tpa, uint64_t idx, void *data)