Skip to content

IO waiting primitives

include/thread/io_wait.h View source View on GitHub
NOTE

This file is now ARCHIVED. No one is suppose to go and start using this, but I’m keeping it here simply as reference

struct io_wait_token (3 fields) source
§ struct thread_wait_block block
§ struct list_node list
§ bool active
enum io_wait_end_action (2 variants) source
§ IO_WAIT_END_YIELD
§ IO_WAIT_END_NO_OP
bool io_wait_token_active(struct io_wait_token *t)
source
#define IO_WAIT_TOKEN_EMPTY ((struct io_wait_token) {0})
source