AtomicPtr

Type Alias AtomicPtr 

Source
pub type AtomicPtr<T> = AtomicPtr<T>;
Available on crate feature primitives only.
Expand description

An atomic *mut T.

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 AtomicPtr<T> { /* private fields */ }