pub type RadiumBool = if_atomic! {
if atomic(bool) { core::sync::atomic::AtomicBool }
else { core::cell::Cell<bool> }
};
pub type RadiumI8 = if_atomic! {
if atomic(8) { core::sync::atomic::AtomicI8 }
else { core::cell::Cell<i8> }
};
pub type RadiumU8 = if_atomic! {
if atomic(8) { core::sync::atomic::AtomicU8 }
else { core::cell::Cell<u8> }
};
pub type RadiumI16 = if_atomic! {
if atomic(16) { core::sync::atomic::AtomicI16 }
else { core::cell::Cell<i16> }
};
pub type RadiumU16 = if_atomic! {
if atomic(16) { core::sync::atomic::AtomicU16 }
else { core::cell::Cell<u16> }
};
pub type RadiumI32 = if_atomic! {
if atomic(32) { core::sync::atomic::AtomicI32 }
else { core::cell::Cell<i32> }
};
pub type RadiumU32 = if_atomic! {
if atomic(32) { core::sync::atomic::AtomicU32 }
else { core::cell::Cell<u32> }
};
pub type RadiumI64 = if_atomic! {
if atomic(64) { core::sync::atomic::AtomicI64 }
else { core::cell::Cell<i64> }
};
pub type RadiumU64 = if_atomic! {
if atomic(64) { core::sync::atomic::AtomicU64 }
else { core::cell::Cell<u64> }
};
pub type RadiumIsize = if_atomic! {
if atomic(size) { core::sync::atomic::AtomicIsize }
else { core::cell::Cell<isize> }
};
pub type RadiumUsize = if_atomic! {
if atomic(size) { core::sync::atomic::AtomicUsize }
else { core::cell::Cell<usize> }
};
pub type RadiumPtr<T> = if_atomic! {
if atomic(ptr) { core::sync::atomic::AtomicPtr<T> }
else { core::cell::Cell<*mut T> }
};