Home
last modified time | relevance | path

Searched defs:is_lock_free (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/crossbeam-utils/src/atomic/
Datomic_cell.rs112 pub const fn is_lock_free() -> bool { in is_lock_free() method
834 let is_lock_free = can_transmute::<T, AtomicUnit>() | can_transmute::<T, atomic::AtomicUsize>(); in atomic_is_lock_free() localVariable
836 let is_lock_free = is_lock_free | can_transmute::<T, atomic::AtomicU8>(); in atomic_is_lock_free() localVariable
838 let is_lock_free = is_lock_free | can_transmute::<T, atomic::AtomicU16>(); in atomic_is_lock_free() localVariable
840 let is_lock_free = is_lock_free | can_transmute::<T, atomic::AtomicU32>(); in atomic_is_lock_free() localVariable
842 let is_lock_free = is_lock_free | can_transmute::<T, atomic::AtomicU64>(); in atomic_is_lock_free() localVariable
844 let is_lock_free = is_lock_free | can_transmute::<T, atomic::AtomicU128>(); in atomic_is_lock_free() localVariable
/external/rust/crates/crossbeam-utils/tests/
Datomic_cell.rs7 fn is_lock_free() { in is_lock_free() function