#[repr(C, align(1))]pub struct AtomicBool { /* private fields */ }
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
.