AtomicUsize

Type Alias AtomicUsize 

Source
pub type AtomicUsize = AtomicUsize;
Available on crate feature primitives only.
Expand description

An atomic usize.

This is either an alias to the type in core::sync::atomic, or, if not available1, a spinlock-based fallback type.


  1. If an appropriate type exists in core::sync::atomic, but compare-and-swap operations are not provided for it (i.e., only loads and stores are supported), it is still considered to be “not available” for the purposes of this crate. 

Aliased Type§

pub struct AtomicUsize { /* private fields */ }