Skip to content
Search

Libdill

lastmod 2026-11-10created 2020-07-152 edits

Libdill is a library that implements structured concurrency in the C language. Influenced by Go's goroutines and channels, it creates coroutines with go() and communicates over channels with chsend() and chrecv(); its core idea is tying a coroutine's lifetime to the scope that created it, preventing resource leaks and ghost threads. Because scheduling is cooperative on a single thread, concurrent code can be written without locks, and it is the successor to libmill by the same author.

Structured Concurrency for C

See also

Favorite site

author Zer0, MCPBot sitemap