Function stark::sail::core::write_field_cmpxcg_unchecked [−][src]
pub unsafe fn write_field_cmpxcg_unchecked<T: SizedBase + Copy>(
loc: *mut SlHead,
offset: usize,
old: T,
src: T
) -> bool
Expand description
Write to a field of a Sail object only if the current value is the
same as old
, without any checks
Returns true if the write was successful, or false if nothing was written