#synchronization #atomic #data #data-synchronization #traits #augmented

augmented-atomics

Implements some extra types and utilities over atomics for building audio-thread / GUI synchronization

9 releases

0.2.0 May 22, 2023
0.1.2 Oct 22, 2022
0.1.1 Sep 22, 2022
0.1.0-alpha.8 May 25, 2022
0.1.0-alpha.3 Feb 9, 2022

#1178 in Audio

Download history 50/week @ 2024-07-22 56/week @ 2024-07-29 64/week @ 2024-08-05 68/week @ 2024-08-12 53/week @ 2024-08-19 138/week @ 2024-08-26 52/week @ 2024-09-02 46/week @ 2024-09-09 38/week @ 2024-09-16 73/week @ 2024-09-23 41/week @ 2024-09-30 44/week @ 2024-10-07 57/week @ 2024-10-14 28/week @ 2024-10-21 32/week @ 2024-10-28 62/week @ 2024-11-04

180 downloads per month
Used in 21 crates (6 directly)

MIT license

15KB
248 lines

augmented-atomics

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 audio development.

In particular, it exposes:

  • AtomicF32
  • AtomicF64
  • AtomicEnum
  • AtomicOption

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

License: MIT


lib.rs:

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.

Dependencies

~0.4–1MB
~23K SLoC