Crate utils_atomics
source ·Re-exports
pub use fill_queue::FillQueue;
alloc
Modules
- channel
alloc
- fill_queue
alloc
- flag
alloc
- notify
alloc
Structs
- AtomicBitBox
alloc
An atomic bitfield with a static size, stored in a boxed slice. - AtomicCell
alloc
An atomic cell that can be safely shared between threads and can contain an optional value. - Lock
alloc
A synchronization primitive that can be used to coordinate threads. - LockSub
alloc
A helper type used for coordination with theLock
. - Inverse of a
OnceCell
. It initializes with a value, which then can be raced by other threads to take. - Error returned when a timeout ocurrs before the main operation completes.
Traits
- BitFieldAble
alloc
Functions
- lock
alloc
Acquires aLock
and its correspondingLockSub
for coordinating access to a shared resource.