[][src]Module conquer_once::spin

Synchronized one-time and lazy initialization primitives that use spin-locks in case of concurrent accesses under contention.

Structs

Spin

Thread blocking (locking) strategy using spin-locks.

Type Definitions

Lazy

A type for lazy initialization of e.g. global static variables, which provides the same functionality as the lazy_static! macro.

Once

A synchronization primitive which can be used to run a one-time global initialization.

OnceCell

An interior mutability cell type which allows synchronized one-time initialization and read-only access exclusively after initialization.