Coroutine is a cooperative multitasking based network library in pure C.
This library mainly focus on network programming. It has the same performance compared to event-driven model with more graceful code organization.
The project is under development. Any issue or pull request is welcomed.
Interfaces are all easy to understand and you can read the document in coroutine.h
We regard a stream of instruction flow as coroutine. The only differences between coroutine and thread are that coroutine is cooperative while thread is preemitive.