Go to file
Aravinth Manivannan 750ea1b644
init
2022-02-24 22:05:32 +05:30
src init 2022-02-24 22:05:32 +05:30
.gitignore init 2022-02-24 22:05:32 +05:30
Cargo.lock init 2022-02-24 22:05:32 +05:30
Cargo.toml init 2022-02-24 22:05:32 +05:30
Makefile init 2022-02-24 22:05:32 +05:30
README.md init 2022-02-24 22:05:32 +05:30

README.md

Blocking vs Non-blocking file I/O

Blocking code is available in [blockin.rs](./src/blocking.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