You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`compare_and_swap` can fail if the value in memory has changed since it
was last read by the writer. In these situations, users will usually
want to retry or abort. While developers are usually aware of this aspect
of CAS, the compiler might as well be helpful and remind the user if
they forget to check if their swap actually occurred.
0 commit comments