Skip to content

Code examples, data structures, and links from my book, Rust Atomics and Locks.

License

Notifications You must be signed in to change notification settings

ksaritek/rust-atomics-and-locks

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/.

Chapter 1 — Basics of Rust Concurrency

Chapter 2 — Atomics

Chapter 3 — Memory Ordering

Chapter 4 — Building Our Own Spin Lock

Chapter 5 — Building Our Own Channels

Chapter 6 — Building Our Own “Arc”

Chapter 7 — Understanding the Processor

Chapter 8 — Operating System Primitives

Chapter 9 — Building Our Own Locks

Chapter 10 — Ideas and Inspiration

License

You 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."

About

Code examples, data structures, and links from my book, Rust Atomics and Locks.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%