Skip to content
Beskid The Beskid Book

Beskid

Jump to a Beskid service

Beskid

Jump to a Beskid service

17.3 Runtime fibers

Cooperative scheduling, stacks, and why async/await is not the plan.

Runtime fibers

Beskid uses fibers with cooperative scheduling—see inception D-INC-0008. The runtime feature Fiber scheduler and stacks is where stack growth, scheduling fairness, and shutdown behavior are specified.

beskid_runtime implements the scheduler; corelib_concurrency exposes the language-facing API. Confusing the two is how you open a PR that “fixes fibers” in the wrong repo.

17. Execution