GitHub - tidwall/neco: Concurrency library for C (coroutines)
Neco is a C library that provides concurrency using coroutines.
It's small & fast, and intended to make concurrent I/O & network programming
easy.
Features
Coroutines: starting, sleeping, suspending, resuming, yielding, and joining.
Synchronization: channels, generators, mutexes, condition variables, and waitgroups.
Support for deadlines and cancelation.
Posix friendly interface using file descriptors.
Addtional APIs for networking,
signals, random data, streams, and buffered I/O.
Lightweight ru...
Read more at github.com