Module conquer_once::noblock

source ·
Expand description

Synchronized one-time and lazy initialization primitives that permit only non-blocking synchronized initialization operations.

Type Definitions

  • A type for lazy initialization of e.g. global static variables, which provides the same functionality as the lazy_static! macro.
  • A synchronization primitive which can be used to run a one-time global initialization.
  • An interior mutability cell type which allows synchronized one-time initialization and read-only access exclusively after initialization.