Skip to main content

AtomicBool

Type Alias AtomicBool 

1.0.0 · Source
pub type AtomicBool = Atomic<bool>;
Available on target_has_atomic_load_store=8 only.
Expand description

A boolean type which can be safely shared between threads.

This type has the same size, alignment, and bit validity as a bool.

Note: This type is only available on platforms that support atomic loads and stores of u8.

Aliased Type§

pub struct AtomicBool { /* private fields */ }