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

#include <configuration.h>

Data Fields

size_t stack_size
 Size of every fiber stack, in bytes.
size_t workers
 Worker count used when a run does not specify one.
size_t max_workers
 Hard ceiling a requested worker count is clamped to.

Detailed Description

Definition at line 124 of file configuration.h.

Field Documentation

◆ max_workers

size_t srn_fiber_config_t::max_workers

Hard ceiling a requested worker count is clamped to.

Definition at line 134 of file configuration.h.

◆ stack_size

size_t srn_fiber_config_t::stack_size

Size of every fiber stack, in bytes.

A per-fiber size of 0 falls back to this.

Definition at line 127 of file configuration.h.

◆ workers

size_t srn_fiber_config_t::workers

Worker count used when a run does not specify one.

Zero delegates to the CPU count at run time.

Definition at line 131 of file configuration.h.


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