[src]

Module std::sync

Useful synchronization primitives

This modules contains useful safe and unsafe synchronization primitives. Most of the primitives in this module do not provide any sort of locking and/or blocking at all, but rather provide the necessary tools to build other types of concurrent primitives.

arc

Atomically reference counted data

atomics

Atomic types

deque

A (mostly) lock-free concurrent work-stealing deque

mpmc_bounded_queue
mpsc_queue

A mostly lock-free multi-producer, single consumer queue.

spsc_queue

A single-producer single-consumer concurrent queue