Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prefer __atomic_compare_exchange_n over __sync_bool_compare_and_swap. I chose weak because we are looping and reading the value of old_value constantly anyway, so it would be better to have it weak. Otherwise, it is equivalent to what it was before.
- Loading branch information