AtomicOrdering in std::intrinsics - Rust (original) (raw)
Enum AtomicOrdering
pub enum AtomicOrdering {
Relaxed = 0,
Release = 1,
Acquire = 2,
AcqRel = 3,
SeqCst = 4,
}🔬This is a nightly-only experimental API. (core_intrinsics)
Expand description
A type for atomic ordering parameters for intrinsics. This is a separate type fromatomic::Ordering so that we can make it ConstParamTy and fix the values used here without a risk of leaking that to stable code.
🔬This is a nightly-only experimental API. (core_intrinsics)
🔬This is a nightly-only experimental API. (core_intrinsics)
🔬This is a nightly-only experimental API. (core_intrinsics)
🔬This is a nightly-only experimental API. (core_intrinsics)
🔬This is a nightly-only experimental API. (core_intrinsics)
Tests for self and other values to be equal, and is used by ==.
Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.