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

#include <configuration.h>

Data Fields

size_t ring_magnitude
 Magnitude of each channel's SQ/CQ rings, capacity is 1 << magnitude.
size_t reap_batch
 Most completions a worker drains from its channel in a single pass.
srn_reactor_backend_e backend
 What IO backend to use.

Detailed Description

Definition at line 144 of file configuration.h.

Field Documentation

◆ backend

srn_reactor_backend_e srn_reactor_config_t::backend

What IO backend to use.

Definition at line 153 of file configuration.h.

◆ reap_batch

size_t srn_reactor_config_t::reap_batch

Most completions a worker drains from its channel in a single pass.

Definition at line 151 of file configuration.h.

◆ ring_magnitude

size_t srn_reactor_config_t::ring_magnitude

Magnitude of each channel's SQ/CQ rings, capacity is 1 << magnitude.

This also bounds the operations a channel can have in flight, so the armed-operation table is sized from it rather than grown.

Definition at line 148 of file configuration.h.


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