Module sync

Source
Expand description

This module re-exports Arc.

That is, it provides some indirection for the case when alloc::sync::Arc is unavailable.

It also defines a “dumb” Arc in core-only mode that doesn’t actually do anything (no indirection, no reference counting).

Structs§

Arc 🔒
A thread-safe reference-counting pointer. ‘Arc’ stands for ‘Atomically Reference Counted’.