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 122 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 131 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 125 of file configuration.h.

◆ workers

size_t srn_fiber_config_t::workers

Worker count used when a run does not specify one.

Definition at line 128 of file configuration.h.


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