]> git.proxmox.com Git - rustc.git/blobdiff - vendor/crossbeam-utils/src/atomic/mod.rs
New upstream version 1.52.0~beta.3+dfsg1
[rustc.git] / vendor / crossbeam-utils / src / atomic / mod.rs
index 7309c166d27732f58064fe78c8397957b7319343..874eaf216a40427973c85b228f21110f115c3ff1 100644 (file)
@@ -1,7 +1,12 @@
 //! Atomic types.
+//!
+//! * [`AtomicCell`], a thread-safe mutable memory location.
+//! * [`AtomicConsume`], for reading from primitive atomic types with "consume" ordering.
 
+#[cfg(not(crossbeam_loom))]
 use cfg_if::cfg_if;
 
+#[cfg(not(crossbeam_loom))]
 cfg_if! {
     // Use "wide" sequence lock if the pointer width <= 32 for preventing its counter against wrap
     // around.