Skip to main content

AtomicI128

Type Alias AtomicI128 

Source
pub type AtomicI128 = Atomic<i128>;
🔬This is a nightly-only experimental API. (integer_atomics)
Expand description

An integer type which can be safely shared between threads.

This type has the same size and bit validity as the underlying integer type, i128. However, the alignment of this type is always equal to its size, even on targets where i128 has a lesser alignment.

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 i128.

Aliased Type§

pub struct AtomicI128 { /* private fields */ }