Crate utils_atomics

Source

Re-exports§

pub use fill_queue::FillQueue;alloc

Modules§

channelalloc
fill_queuealloc
flagalloc
notifyalloc
prelude
traits

Structs§

AtomicBitBoxalloc
An atomic bitfield with a static size, stored in a boxed slice.
AtomicCellalloc
An atomic cell that can be safely shared between threads and can contain an optional value.
Lockalloc
A synchronization primitive that can be used to coordinate threads.
LockSuballoc
A helper type used for coordination with the Lock.
TakeCell
Inverse of a OnceCell. It initializes with a value, which then can be raced by other threads to take.
Timeout
Error returned when a timeout ocurrs before the main operation completes.

Traits§

BitFieldAblealloc

Functions§

lockalloc
Acquires a Lock and its corresponding LockSub for coordinating access to a shared resource.