Io module

Iocp_State

structSource

What the Windows engine keeps. The fields exist everywhere so that Engine has one shape.

Fields

port: s64
sockets_started: bool
accept_ex: *void
connect_ex: *void
ring: s64
The IoRing, when files use one (0 otherwise), its completion event, and the thread that turns the event into a packet on the port. The thread starts at the first file operation.
ring_event: s64
stop_event: s64
ring_thread: Thread.Thread
ring_thread_started: bool
ring_inflight: s64
ring_dirty: bool
backlog_head: *Op
File operations waiting for room in the ring's queue.
backlog_tail: *Op

See also