Skip to content

Glossary: Rust in Practice

atomic type

Also written: AtomicU32, atomic

A number type, like `AtomicU32`, that several threads can change safely without a lock. It's the safe alternative to a mutable global.

Where the book teaches it

Related terms

static mutMutex