1
0
mirror of https://github.com/golang/go synced 2024-11-08 14:56:31 -07:00
go/src/sync
Elias Naur 9735fcfce7 sync/atomic: add memory barriers to Load/StoreInt32 on darwin/arm
After switching to an iPhone 5 for the darwin/arm builds,
TestStoreLoadRelAcq32 started to timeout on every builder run.
Adding the same memory barriers as armLoadUint64 and armStoreUint64
makes the test complete successfully.

Fixes sync/atomic tests on the darwin/arm builder.

Change-Id: Id73de31679304e259bdbd7f2f94383ae7fd70ee4
Reviewed-on: https://go-review.googlesource.com/67390
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Dmitry Vyukov <dvyukov@google.com>
2017-10-02 09:57:23 +00:00
..
atomic sync/atomic: add memory barriers to Load/StoreInt32 on darwin/arm 2017-10-02 09:57:23 +00:00
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 all: join some chained ifs to unindent code 2017-08-29 20:57:41 +00:00