73fe55d752
PR go/89199 sync/atomic: use strong form of atomic_compare_exchange_n In the recent change to use atomic_compare_exchange_n I thought we could use the weak form, which can spuriously fail. But that is not how it is implemented in the gc library, and it is not what the rest of the library expects. Thanks to Lynn Boger for identifying the problem. Fixes https://gcc.gnu.org/PR89199 Reviewed-on: https://go-review.googlesource.com/c/161359 From-SVN: r268591 |
||
---|---|---|
.. | ||
atomic | ||
cond_test.go | ||
cond.go | ||
example_pool_test.go | ||
example_test.go | ||
export_test.go | ||
map_bench_test.go | ||
map_reference_test.go | ||
map_test.go | ||
map.go | ||
mutex_test.go | ||
mutex.go | ||
once_test.go | ||
once.go | ||
pool_test.go | ||
pool.go | ||
runtime_sema_test.go | ||
runtime.go | ||
rwmutex_test.go | ||
rwmutex.go | ||
waitgroup_test.go | ||
waitgroup.go |