Skip to content

Glossary: Rust Beyond the Basics

Arc (atomically reference counted)

Also written: Arc, Arc<T>

The thread-safe version of `Rc`: it counts owners with a count that can safely change from several threads. `Arc<Mutex<T>>` is the usual way to share changeable data across threads or tasks.

Where the book teaches it

Related terms

MutexSend