Io module

Accept_Slot

structSource

One listening socket's multishot accept. A fiber in accept waits on it; connections that arrive while nobody waits are queued for the next call.

Fields

fd: s64
op: *Op
The armed request, null when the kernel has ended it (or it was never armed).
closing: bool
close ran: queued sockets are closed, and the slot is freed when the request ends.
waiter: *Accept_Wait
queue: [..] s32
head: s64

See also