kvarn::prelude::threading::atomic

Struct AtomicI8

1.34.0 ยท source
#[repr(C, align(1))]
pub struct AtomicI8 { /* private fields */ }
Expand description

An integer type which can be safely shared between threads.

This type has the same size, alignment, and bit validity as the underlying integer type, i8.

For more about the differences between atomic types and non-atomic types as well as information about the portability of this type, please see the module-level documentation.

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

I