Code examples, data structures, and links from my book, Rust Atomics and Locks.
Code examples, data structures, and links from my book, Rust Atomics and Locks.
This repository contains the code examples, data structures, and links from Rust Atomics and Locks.
The examples from chapters 1, 2, 3, and 8 can be found in examples/. The data structures from chapters 4, 5, 6, and 9 can be found in src/.
parking_lot crateAtomicPerByteseqlock crateYou may use all code in this repository for any purpose.
Attribution is appreciated, but not required. An attribution usually includes the book title, author, publisher, and ISBN. For example: "Rust Atomics and Locks by Mara Bos (O’Reilly). Copyright 2023 Mara Bos, 978-1-098-11944-7."
No open issues yet, or sync has not completed.