Cooperative multitasking based network library in pure C.
Coroutine is a combination of goroutine of golang and actor of erlang.
Each coroutine is actually a user thread which will be schedule away when come across I/O.
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.