Skip to content
Beskid Platform specification

Beskid

Jump to a Beskid service

Beskid

Jump to a Beskid service

Concurrency

Platform spec area

Concurrency

Spec standingStandard

Owner
Piotr Mikstacki
Submitter
Piotr Mikstacki

Scope

Cooperative fibers (goroutine-style), channels for fiber-to-fiber communication, and optional OS threads for preemptive parallelism live in a dedicated corelib workspace package (corelib_concurrency), not as deep abstraction layers inside the main prelude.

System.Threading exposes syscall-backed OS thread primitives. Concurrency (package root module) exposes Fiber<T>, Channel<T>, Hub, Mutex, and WaitGroup as structs that wrap runtime builtins—one thin layer, no parallel type hierarchies like .NET Task / TaskCompletionSource / IAsyncEnumerable.

Terminal and console code must use channels for cross-fiber delivery (see Console terminal events).

Features