Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zonyitoo/coroutine-demo
Coroutine demo for Rust
https://github.com/zonyitoo/coroutine-demo
Last synced: 3 months ago
JSON representation
Coroutine demo for Rust
- Host: GitHub
- URL: https://github.com/zonyitoo/coroutine-demo
- Owner: zonyitoo
- Created: 2015-05-16T14:16:09.000Z (over 9 years ago)
- Default Branch: feature-goscheduler2
- Last Pushed: 2015-06-21T10:08:53.000Z (over 9 years ago)
- Last Synced: 2024-10-04T15:30:46.853Z (3 months ago)
- Language: Rust
- Size: 309 KB
- Stars: 15
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Coroutine I/O Demo
This is a demonstration project for [coroutine-rs](https://github.com/rustcc/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](https://github.com/carllerche/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