Crate augmented_atomics

Source
Expand description

This crate is part of https://github.com/yamadapc/augmented-audio/. It exposes a couple of extra very limited atomic data types which are useful for this repository.

In particular, it exposes:

  • AtomicF32
  • AtomicF64
  • AtomicEnum
  • AtomicOption

In addition, an AtomicValue trait is provided, which allows AtomicOption to be available.

Structs§

AtomicEnum
Given an enum value deriving FromPrimitive/ToPrimitive, handles storing the value as an atomic usize.
AtomicF32
Simple atomic floating point variable with relaxed ordering.
AtomicF64
Simple atomic floating point variable with relaxed ordering.
AtomicOption

Traits§

AtomicFloatRepresentable
AtomicValue
Trait of values that can be loaded / stored with relaxed operations.