Serene Runtime 1.0.0-dev
C runtime for the Serene programming language
Loading...
Searching...
No Matches
io_waiter_t Struct Reference

Lives on the suspended fiber's stack; the worker fills it from the completion and the fiber reads it on resume. More...

Collaboration diagram for io_waiter_t:
[legend]

Data Fields

 ERROR_HEADER
srn_fiber_tfiber
size_t result
uint32_t addrlen

Detailed Description

Lives on the suspended fiber's stack; the worker fills it from the completion and the fiber reads it on resume.

It mirrors the completion's payload minus the routing token, and is itself a fallible value (maybe_error null on success).

Definition at line 66 of file io.c.

Field Documentation

◆ addrlen

uint32_t io_waiter_t::addrlen

Definition at line 70 of file io.c.

◆ ERROR_HEADER

io_waiter_t::ERROR_HEADER

Definition at line 67 of file io.c.

◆ fiber

srn_fiber_t* io_waiter_t::fiber

Definition at line 68 of file io.c.

◆ result

size_t io_waiter_t::result

Definition at line 69 of file io.c.


The documentation for this struct was generated from the following file: