xco

Concurrency for C
git clone https://git.ryansepassi.com/git/xco.git
Log | Files | Refs | README

xco

A minimal C11 concurrency library. No allocation, no atomics, no hidden threads, no clocks. Single-threaded. Caller-provided storage.

Layers

Bottom-up; each layer is a thin abstraction over the one below.

Properties

Build

make           # builds build/libxco.a
make test      # builds and runs the test suite

The platform is auto-detected from uname -m; override with PLATFORM=<dir> (must match a directory under platform/).

Layout