An open API service indexing awesome lists of open source software.

https://github.com/jatinderjit/rust-atomics

Notes for "Rust Atomics and Locks"
https://github.com/jatinderjit/rust-atomics

atomics concurrency rust rust-lang

Last synced: 10 months ago
JSON representation

Notes for "Rust Atomics and Locks"

Awesome Lists containing this project

README

          

# Rust Atomics and locks

Notes / practice for the amazing [Rust Atomics and Locks](https://marabos.nl/atomics/)
book by Mara Bos.

1. `OnceData`: [code](./src/once_data.rs)
2. `SpinLock`: [code](./src/spinlock.rs)
3. `OneShotChannel`: [code](./src/channel1.rs), [notes](./docs/channels.md)
4. `Arc`: [code](./src/arc.rs), [notes](./docs/arc.md)

TODO: try [Miri](https://github.com/rust-lang/miri)