crossbeam
crossbeam copied to clipboard
fixes #946 -- return both the old and new values in `Atomic::compare_exchange`
I decided returning both made more sense than trying to just mirror the stdlib's API, because of the extreme risk existing code wouldn't notice the behavior change unless types also changed.
the CI failures appear to be the ones fixed by #1196. I can rebase after that merges.