Skip to main content

qubit_atomic/atomic/
atomic_i64.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 64-bit Signed Integer
12//!
13//! Provides an easy-to-use atomic 64-bit signed integer type with sensible
14//! default memory orderings.
15//!
16
17use std::sync::atomic::Ordering;
18
19impl_atomic_number!(
20    AtomicI64,
21    std::sync::atomic::AtomicI64,
22    i64,
23    "64-bit signed integer"
24);