Include dependency graph for waitq.c:
Go to the source code of this file.
Functions | |
static void | waitq_timeouted_sleep (void *data) |
void | waitq_initialize (waitq_t *wq) |
void | waitq_interrupt_sleep (thread_t *t) |
int | waitq_sleep_timeout (waitq_t *wq, __u32 usec, int flags) |
ipl_t | waitq_sleep_prepare (waitq_t *wq) |
void | waitq_sleep_finish (waitq_t *wq, int rc, ipl_t ipl) |
int | waitq_sleep_timeout_unsafe (waitq_t *wq, __u32 usec, int flags) |
void | waitq_wakeup (waitq_t *wq, bool all) |
void | _waitq_wakeup_unsafe (waitq_t *wq, bool all) |
It allows threads to wait for an event in first-come, first-served fashion. Conditional operation as well as timeouts and interruptions are supported.
Definition in file waitq.c.