Trait which allows reading from primitive atomic types with 'consume' ordering.
Associated Types
Atomic Comics #1 About Analyzer Modeler. FMV & Sale History. Fair Market Value (FMV) calculated. Overview; 50+ Sale History; Grade. 4.0: 1: 1: 94.9% 0. Download dkms-2.2.0.3-21.el6.art.noarch.rpm for CentOS 6 from Atomic repository.
type Val
Required methods
fn load_consume(&self) -> Self::Val
Loads a value from the atomic using a 'consume' memory ordering.
This is similar to the 'acquire' ordering, except that an ordering isonly guaranteed with operations that 'depend on' the result of the load.However consume loads are usually much faster than acquire loads onarchitectures with a weak memory model since they don't require memoryfence instructions.
The exact definition of 'depend on' is a bit vague, but it works as youwould expect in practice since a lot of software, especially the Linuxkernel, rely on this behavior.
This is currently only implemented on ARM and AArch64, where a fencecan be avoided. On other architectures this will fall back to a simpleload(Ordering::Acquire)
. Deckset 2 0 4 – simple presentation creator.
Implementations on Foreign Types
impl AtomicConsume for AtomicU8
[src]
type Val = u8
pub fn load_consume(&self) -> ::Val
[src]
impl AtomicConsume for AtomicI16
[src]
type Val = i16
pub fn load_consume(&self) -> ::Val
[src]
impl AtomicConsume for AtomicU16
[src]
type Val = u16
pub fn load_consume(&self) -> ::Val
[src]
impl AtomicConsume for AtomicI64
[src]
type Val = i64
pub fn load_consume(&self) -> ::Val
[src]
impl AtomicConsume for AtomicI8
[src]
type Val = i8
pub fn load_consume(&self) -> ::Val
[src]
impl AtomicConsume for AtomicPtr
[src]
type Val = *mut T
pub fn load_consume(&self) -> as AtomicConsume>::Val
[src]
Atomic 1 0 4 0 Saddle Tank Engine
impl AtomicConsume for AtomicIsize
[src]
type Val = isize
pub fn load_consume(&self) -> ::Val
[src]
impl AtomicConsume for AtomicU32
[src]
type Val = u32
pub fn load_consume(&self) -> ::Val
[src]
impl AtomicConsume for AtomicUsize
[src]
type Val = usize
pub fn load_consume(&self) -> ::Val
[src]
impl AtomicConsume for AtomicI32
[src]
type Val = i32
pub fn load_consume(&self) -> ::Val
[src]
impl AtomicConsume for AtomicU64
[src]
type Val = u64
pub fn load_consume(&self) -> ::Val
[src]
impl AtomicConsume for AtomicBool
[src]
type Val = bool
pub fn load_consume(&self) -> ::Val
[src]
Implementors
Loading content..Trait which allows reading from primitive atomic types with 'consume' ordering.
Associated Types
type Val
Required methods
fn load_consume(&self) -> Self::Val
Loads a value from the atomic using a 'consume' memory ordering.
This is similar to the 'acquire' ordering, except that an ordering isonly guaranteed with operations that 'depend on' the result of the load.However consume loads are usually much faster than acquire loads onarchitectures with a weak memory model since they don't require memoryfence instructions.
The exact definition of 'depend on' is a bit vague, but it works as youwould expect in practice since a lot of software, especially the Linuxkernel, rely on this behavior.
This is currently only implemented on ARM and AArch64, where a fencecan be avoided. On other architectures this will fall back to a simpleload(Ordering::Acquire)
.
Implementations on Foreign Types
impl AtomicConsume for AtomicU8
[src]
type Val = u8
pub fn load_consume(&self) -> ::Val
[src]
impl AtomicConsume for AtomicI16
[src]
type Val = i16
pub fn load_consume(&self) -> ::Val
[src]
impl AtomicConsume for AtomicU16
[src]
type Val = u16
pub fn load_consume(&self) -> ::Val
[src]
impl AtomicConsume for AtomicI64
[src]
Atomic 1 0 4 0 8 Rational Or Irrational
type Val = i64
pub fn load_consume(&self) -> ::Val
[src]
impl AtomicConsume for AtomicI8
[src]
type Val = i8
pub fn load_consume(&self) -> ::Val
[src]
impl AtomicConsume for AtomicPtr
[src]
type Val = *mut T
pub fn load_consume(&self) -> as AtomicConsume>::Val
[src]
impl AtomicConsume for AtomicIsize
[src]
type Val = isize
pub fn load_consume(&self) -> ::Val
[src]
Atomic 1 0 4 0 G
impl AtomicConsume for AtomicU32
[src]
type Val = u32
pub fn load_consume(&self) -> ::Val
[src]
impl AtomicConsume for AtomicUsize
[src]
type Val = usize
pub fn load_consume(&self) -> ::Val
[src]
impl AtomicConsume for AtomicI32
[src]
type Val = i32
pub fn load_consume(&self) -> ::Val
[src]
impl AtomicConsume for AtomicU64
[src]
type Val = u64
pub fn load_consume(&self) -> ::Val
[src]
impl AtomicConsume for AtomicBool
[src]
type Val = bool
pub fn load_consume(&self) -> ::Val
[src]
Atomic Comics #1 About Analyzer Modeler. FMV & Sale History. Fair Market Value (FMV) calculated. Overview; 50+ Sale History; Grade. 4.0: 1: 1: 94.9% 0. Download dkms-2.2.0.3-21.el6.art.noarch.rpm for CentOS 6 from Atomic repository.
type Val
Required methods
fn load_consume(&self) -> Self::Val
Loads a value from the atomic using a 'consume' memory ordering.
This is similar to the 'acquire' ordering, except that an ordering isonly guaranteed with operations that 'depend on' the result of the load.However consume loads are usually much faster than acquire loads onarchitectures with a weak memory model since they don't require memoryfence instructions.
The exact definition of 'depend on' is a bit vague, but it works as youwould expect in practice since a lot of software, especially the Linuxkernel, rely on this behavior.
This is currently only implemented on ARM and AArch64, where a fencecan be avoided. On other architectures this will fall back to a simpleload(Ordering::Acquire)
. Deckset 2 0 4 – simple presentation creator.
Implementations on Foreign Types
impl AtomicConsume for AtomicU8
[src]
type Val = u8
pub fn load_consume(&self) -> ::Val
[src]
impl AtomicConsume for AtomicI16
[src]
type Val = i16
pub fn load_consume(&self) -> ::Val
[src]
impl AtomicConsume for AtomicU16
[src]
type Val = u16
pub fn load_consume(&self) -> ::Val
[src]
impl AtomicConsume for AtomicI64
[src]
type Val = i64
pub fn load_consume(&self) -> ::Val
[src]
impl AtomicConsume for AtomicI8
[src]
type Val = i8
pub fn load_consume(&self) -> ::Val
[src]
impl AtomicConsume for AtomicPtr
[src]
type Val = *mut T
pub fn load_consume(&self) -> as AtomicConsume>::Val
[src]
Atomic 1 0 4 0 Saddle Tank Engine
impl AtomicConsume for AtomicIsize
[src]
type Val = isize
pub fn load_consume(&self) -> ::Val
[src]
impl AtomicConsume for AtomicU32
[src]
type Val = u32
pub fn load_consume(&self) -> ::Val
[src]
impl AtomicConsume for AtomicUsize
[src]
type Val = usize
pub fn load_consume(&self) -> ::Val
[src]
impl AtomicConsume for AtomicI32
[src]
type Val = i32
pub fn load_consume(&self) -> ::Val
[src]
impl AtomicConsume for AtomicU64
[src]
type Val = u64
pub fn load_consume(&self) -> ::Val
[src]
impl AtomicConsume for AtomicBool
[src]
type Val = bool
pub fn load_consume(&self) -> ::Val
[src]
Implementors
Loading content..Trait which allows reading from primitive atomic types with 'consume' ordering.
Associated Types
type Val
Required methods
fn load_consume(&self) -> Self::Val
Loads a value from the atomic using a 'consume' memory ordering.
This is similar to the 'acquire' ordering, except that an ordering isonly guaranteed with operations that 'depend on' the result of the load.However consume loads are usually much faster than acquire loads onarchitectures with a weak memory model since they don't require memoryfence instructions.
The exact definition of 'depend on' is a bit vague, but it works as youwould expect in practice since a lot of software, especially the Linuxkernel, rely on this behavior.
This is currently only implemented on ARM and AArch64, where a fencecan be avoided. On other architectures this will fall back to a simpleload(Ordering::Acquire)
.