rust-async/README.md

18 lines
526 B
Markdown
Raw Permalink Normal View History

2022-02-24 22:05:32 +05:30
# Blocking vs Non-blocking file I/O
2022-02-24 23:04:09 +05:30
Blocking code is available in [blockin.rs](./src/blocking.rs) and
2022-02-24 22:05:32 +05:30
non-blocking in [async-tokio.rs](./src/async-tokio.rs).
Both programs read their respective source files and print it to
stdout.
## Usage
A simple Makefile is provided for convenience:
```bash
➜ rust-async git:(master) ✗ make help
async Runs non-blocking program
blocking Runs blocking program
help Prints help for targets with comments
```