Type Alias AtomicPtr

Source
pub type AtomicPtr<T> = Cell<*mut T>;
Expand description

A raw pointer type which can be safely shared between threads when “sync” feature is enabled.
A raw pointer type with non-threadsafe interior mutability when “sync” feature is not enabled.

This type has the same in-memory representation as a isize.

Aliased Type§

pub struct AtomicPtr<T> { /* private fields */ }