go/src/sync
Ian Lance Taylor 0915a19a11 sync: deflake TestWaitGroupMisuse3
If one of the helper goroutine panics, the main goroutine call to Wait
may hang forever waiting for something to call Done. Put that call in
a goroutine like the others.

Fixes #35774

Change-Id: I8d2b58d8f473644a49a95338f70111d4e6ed4e12
Reviewed-on: https://go-review.googlesource.com/c/go/+/210218
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
2019-12-06 05:12:15 +00:00
..
atomic sync/atomic: suppress checkptr errors for hammerStoreLoadPointer 2019-10-22 18:09:03 +00:00
cond.go
cond_test.go
example_pool_test.go
example_test.go
export_test.go sync: fix pool wrap-around test 2019-06-26 19:48:39 +00:00
map.go sync: simplify (*entry).tryStore 2018-09-27 21:44:20 +00:00
map_bench_test.go
map_reference_test.go
map_test.go
mutex.go sync: yield to the waiter when unlocking a starving mutex 2019-11-09 19:31:32 +00:00
mutex_test.go sync: allow inlining the Mutex.Unlock fast path 2019-03-05 14:59:31 +00:00
once.go sync: document implementation of Once.Do 2019-07-01 14:45:49 +00:00
once_test.go
pool.go sync: update comment 2019-04-19 16:15:36 +00:00
pool_test.go sync: only check for successful PopHeads in long mode 2019-06-26 19:48:42 +00:00
poolqueue.go sync: internal dynamically sized lock-free queue for sync.Pool 2019-04-05 18:49:04 +00:00
runtime.go sync: allow inlining the Mutex.Lock fast path 2019-03-09 05:08:04 +00:00
runtime_sema_test.go sync: allow inlining the Mutex.Unlock fast path 2019-03-05 14:59:31 +00:00
rwmutex.go sync: allow inlining the RWMutex.RUnlock fast path 2019-03-09 16:34:17 +00:00
rwmutex_test.go
waitgroup.go sync: allow inlining the Mutex.Unlock fast path 2019-03-05 14:59:31 +00:00
waitgroup_test.go sync: deflake TestWaitGroupMisuse3 2019-12-06 05:12:15 +00:00