Skip to main content

qubit_atomic/atomic/
atomic_u128.rs

1/*******************************************************************************
2 *
3 *    Copyright (c) 2025 - 2026 Haixing Hu.
4 *
5 *    SPDX-License-Identifier: Apache-2.0
6 *
7 *    Licensed under the Apache License, Version 2.0.
8 *
9 ******************************************************************************/
10
11//! # Atomic 128-bit Unsigned Integer
12//!
13//! Provides an easy-to-use atomic 128-bit unsigned integer type with sensible
14//! default memory orderings.
15//!
16
17use std::sync::atomic::Ordering;
18
19impl_atomic_number!(
20    AtomicU128,
21    portable_atomic::AtomicU128,
22    u128,
23    "128-bit unsigned integer"
24);