coroutine-demo
coroutine-demo copied to clipboard
Coroutine demo for Rust
Coroutine I/O Demo
This is a demonstration project for coroutine-rs.
What is this for?
We are going to add a scheduler (work-stealing) into coroutine-rs, but we need to test before actually write it into the library.
Goal
-
[x] Asynchronous I/O with MIO
-
[x] Single-threaded eventloop based Coroutine scheduler
-
[ ] Multi-threaded eventloop based Coroutine sheduler (some weird bug need to be fixed)
-
[ ] Network I/O library
-
[ ] Synchronization between Coroutines (Mutex, CondVar, ...)
-
[ ] Coroutine-local storage
-
[ ] Windows support
Known bugs
-
[ ] Echo server may be blocked when enabling multi-thread mode
-
[ ] Simple HTTP server cannot handle too much concurrent requests