1
0
mirror of https://github.com/golang/go synced 2024-11-08 11:36:10 -07:00
go/src/sync
Michael Munday b7f3c178a3 sync: deflake TestWaitGroupMisuse2
We need to yield to the runtime every now and again to avoid
deadlock. This doesn't show up on most machines because the test
only runs when you have 5 or more CPUs.

Fixes #20072.

Change-Id: Ibf5ed370e919943395f3418487188df0b2be160b
Reviewed-on: https://go-review.googlesource.com/112978
Run-TryBot: Michael Munday <mike.munday@ibm.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2018-05-14 04:42:45 +00:00
..
atomic sync/atomic: redirect many functions to runtime/internal/atomic 2018-05-03 21:35:01 +00:00
cond_test.go sync: hide test of misuse of Cond from vet 2018-04-25 02:49:46 +00:00
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 sync: document when and when not to use Map 2018-01-04 20:13:20 +00:00
mutex_test.go sync: throw, not panic, for unlock of unlocked mutex 2017-12-08 13:40:21 +00:00
mutex.go sync: throw, not panic, for unlock of unlocked mutex 2017-12-08 13:40:21 +00:00
once_test.go
once.go
pool_test.go
pool.go
runtime_sema_test.go
runtime.go
rwmutex_test.go
rwmutex.go sync: enable profiling of RWMutex 2018-02-14 15:38:42 +00:00
waitgroup_test.go sync: deflake TestWaitGroupMisuse2 2018-05-14 04:42:45 +00:00
waitgroup.go sync: make WaitGroup more space-efficient 2018-03-15 09:56:25 +00:00