Function swiss_army_knife::intel_hardware_lock_elision::__hle_acquire_exchange_n1[][src]

pub unsafe fn __hle_acquire_exchange_n1(ptr: *mut u8, val: u8) -> u8
Expand description

Atomically exchange (swap) val for the content of ptr and return the previous content of ptr with ‘HLE Acquire’ memory ordering.