1
0
mirror of https://github.com/golang/go synced 2024-10-05 21:21:21 -06:00
go/src/sync
Russ Cox 4bd8040d47 runtime, sync/atomic: add memory barriers in arm cas routines
This only triggers on ARMv7+.
If there are important SMP ARMv6 machines we can reconsider.

Makes TestLFStress tests pass and sync/atomic tests not time out
on Apple iPad Mini 3.

Fixes #7977.
Fixes #10189.

Change-Id: Ie424dea3765176a377d39746be9aa8265d11bec4
Reviewed-on: https://go-review.googlesource.com/12950
Reviewed-by: David Crawshaw <crawshaw@golang.org>
2015-07-30 20:11:11 +00:00
..
atomic runtime, sync/atomic: add memory barriers in arm cas routines 2015-07-30 20:11:11 +00:00
cond_test.go
cond.go
example_test.go
export_test.go sync: don't run known-racy tests under the race detector 2015-06-26 22:07:29 +00:00
mutex_test.go sync: add active spinning to Mutex 2015-02-24 10:53:48 +00:00
mutex.go sync: add active spinning to Mutex 2015-02-24 10:53:48 +00:00
once_test.go
once.go
pool_test.go
pool.go
race0.go
race.go
runtime_sema_test.go
runtime.go sync: add active spinning to Mutex 2015-02-24 10:53:48 +00:00
rwmutex_test.go
rwmutex.go
waitgroup_test.go sync: disable flaky WaitGroup misuse test in short mode 2015-06-29 18:44:52 +00:00
waitgroup.go sync: simplify WaitGroup 2015-06-26 18:48:29 +00:00