Skip to content

Stage 27Foundations1st EditionUnread

Rust Atomics and Locks: Low-Level Concurrency in Practice

Correct concurrent code depends on memory ordering and synchronization contracts; implementing locks and channels connects language guarantees to processors and operating systems.

Mara Bos · O'Reilly Media (2023) · ISBN 978-1-09-811944-7

  1. 146Atomic operations and compare-and-exchange
  2. 147Memory ordering and happens-before relationships
  3. 148Spin locks, mutexes, and condition variables
  4. 149Channels and atomic reference counting
  5. 150Processor instructions and operating-system synchronization
Rust Atomics and Locks: Low-Level Concurrency in Practice by Mara Bos