[go: up one dir, main page]

Module atomic

Module atomic 

Source
Expand description

Mock implementation of std::sync::atomic.

Re-exports§

pub use std::sync::atomic::Ordering;

Structs§

AtomicBool
Mock implementation of std::sync::atomic::AtomicBool.
AtomicI8
Mock implementation of std::sync::atomic::AtomicI8.
AtomicI16
Mock implementation of std::sync::atomic::AtomicI16.
AtomicI32
Mock implementation of std::sync::atomic::AtomicI32.
AtomicI64
Mock implementation of std::sync::atomic::AtomicI64.
AtomicIsize
Mock implementation of std::sync::atomic::AtomicIsize.
AtomicPtr
Mock implementation of std::sync::atomic::AtomicPtr.
AtomicU8
Mock implementation of std::sync::atomic::AtomicU8.
AtomicU16
Mock implementation of std::sync::atomic::AtomicU16.
AtomicU32
Mock implementation of std::sync::atomic::AtomicU32.
AtomicU64
Mock implementation of std::sync::atomic::AtomicU64.
AtomicUsize
Mock implementation of std::sync::atomic::AtomicUsize.

Functions§

fence
An atomic fence.
spin_loop_hint
Signals the processor that it is entering a busy-wait spin-loop.