On this page
  1. rust/std/sync
  2. Import
  3. Overview
  4. Core (#tier/core)
  5. Standard (#tier/standard)
  6. Specialized (#tier/specialized)

rust/std/sync

Prev: smart_pointers | Up: std | Next: io_and_fs
Rel: rust/builtins, Ownership & Internals
Ref: Rust std — sync
Tags: #public #prog #rust #stdlib #sync #index


Import

use std::sync::{Arc, Mutex, RwLock, OnceLock, mpsc};

Overview

Thread-safe synchronization, channels, atomics, and lazy one-time initialization.

Core (#tier/core)

Standard (#tier/standard)

Specialized (#tier/specialized)

Linked from

Related notes