You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
1 year ago | |
---|---|---|
src | 1 year ago | |
.gitignore | 1 year ago | |
Cargo.lock | 1 year ago | |
Cargo.toml | 1 year ago | |
Makefile | 1 year ago | |
README.md | 1 year ago |
README.md
Blocking vs Non-blocking file I/O
Blocking code is available in blockin.rs and non-blocking in async-tokio.rs.
Both programs read their respective source files and print it to stdout.
Usage
A simple Makefile is provided for convenience:
➜ rust-async git:(master) ✗ make help
async Runs non-blocking program
blocking Runs blocking program
help Prints help for targets with comments