AtI64

Trait AtI64 

Source
pub trait AtI64 {
    // Required methods
    fn cas(&self, current: i64, new: i64) -> Result<i64, i64>;
    fn l(&self) -> i64;
    fn s(&self, val: i64);
}

Required Methods§

Source

fn cas(&self, current: i64, new: i64) -> Result<i64, i64>

swap with Ordering::Relaxed

Source

fn l(&self) -> i64

load with Ordering::Relaxed

Source

fn s(&self, val: i64)

store with Ordering::Relaxed

Implementations on Foreign Types§

Source§

impl AtI64 for AtomicI64

Source§

fn cas(&self, current: i64, new: i64) -> Result<i64, i64>

Source§

fn l(&self) -> i64

Source§

fn s(&self, val: i64)

Implementors§