比较几个 C 语言协程实现
https://blog.csdn.net/ubuntu64fan/article/details/118765427

coroutine
https://github.com/xhawk18/s_task/blob/master/readme_cn.md#%E5%85%B6%E4%BB%96%E5%8D%8F%E7%A8%8B%E5%BA%93%E5%AF%B9%E6%AF%94
C
ucontext https://github.com/cloudwu/coroutine
ucontext/fiber https://github.com/xphh/coroutine
C multiplatform coroutine implementation via ucontext, fibers or setjmp
coroutine
awaitable coroutine library for C
s_task
C++
C++11 single .h asymmetric coroutine implementation via ucontext / fiber
coroutine
libcopp
librf

C++ 20 Coroutines in Action (Helpers + Test Code Examples)
coroutine

libco
libaco
A asymmetric coroutine library for C.
coroutine
coroutine -> simple
Structured concurrency in C
libdill
Go-style concurrency in C
libmill
Single header stackful cross-platform coroutine library in pure C.
minicoro
Lightweight thread library for C/C++ coroutine (similar to goroutine), for high performance network servers.
state-threads
A concurrency C library 10x faster than Golang.
libcsp
A coroutine framework aimed at high-concurrency io with reasonable latency, based on io_uring.
co_context

context
libfiber
libgo

benchbox

c++ 20 coroutine

libcoro

C++ Coroutines for Qt

qcoro