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

The saved context of a suspended fiber is a single word: its stack pointer at the moment it was switched away from. More...

#include <fiber.h>

Data Fields

void * sp
 

Detailed Description

The saved context of a suspended fiber is a single word: its stack pointer at the moment it was switched away from.

The callee-saved registers live on the fiber's own stack, pushed by srn_fiber_swap and popped when it is resumed.

Definition at line 147 of file fiber.h.

Field Documentation

◆ sp

void* srn_fiber_ctx_t::sp

Definition at line 148 of file fiber.h.


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