Selectable

A common interface for objects that can be used in select()

Members

Functions

selectRead
void selectRead(void* ptr, SelectState sel_state, int sel_id)

Try to read/write to the Selectable without blocking. If the operation would block, queue and link it with the sel_state

selectWrite
void selectWrite(void* ptr, SelectState sel_state, int sel_id)

Try to read/write to the Selectable without blocking. If the operation would block, queue and link it with the sel_state

Meta