Skip to main content

qubit_atomic/atomic/
atomic_u32.rs

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