-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Is this accurate? It seems to simply rely on the atomic_xchg intrinsics, and not implement any kind of re-trying to block on the atom like the docstring suggests.
Lines 64 to 66 in 2a606a0
/// Swap a new value into the Atom, This will try multiple | |
/// times until it succeeds. The old value will be returned. | |
pub fn swap(&self, v: P, order: Ordering) -> Option<P> { |
Metadata
Metadata
Assignees
Labels
No labels