Io module

Resolve_Job

structforeignextensionexperimentalSource

One getaddrinfo call, shared by every fiber that asked for the same name while it was under way.

Fields

allocator: Allocator
host: *u8
host_length: s64
code: s32
0, or the getaddrinfo error code. Written by the helper, read after it is collected.
address: Address
The answer with port 0; each waiter applies its own port.
waiters: *Resolve_Waiter
Fibers waiting for the answer (scheduler thread only).
next: *Resolve_Job
The helper queues (mutex-protected).
inflight_next: *Resolve_Job
Jobs not yet collected, to find one to join (scheduler thread only).

See also