1
0
mirror of https://github.com/golang/go synced 2024-11-19 20:54:39 -07:00
go/src/sync
Bryan C. Mills 9311af79d5 sync: release m.mu during (*RWMutexMap).Range callbacks in sync_test
The mainline sync.Map has allowed mutations within Range callbacks
since https://golang.org/cl/37342. The reference implementations need
to do the same.

This change integrates https://go-review.googlesource.com/c/42956/
from x/sync.

Change-Id: I6b58cf874bb31cd4f6fdb8bfa8278888ed617a5a
Reviewed-on: https://go-review.googlesource.com/42957
Run-TryBot: Bryan Mills <bcmills@google.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2017-07-20 18:51:09 +00:00
..
atomic sync/atomic: clarify 64-bit alignment bug 2017-07-11 18:32:38 +00:00
cond_test.go
cond.go sync: remove note about creating with structures 2017-06-07 21:35:20 +00:00
example_pool_test.go
example_test.go
export_test.go sync: deflake TestPool and TestPoolNew 2017-06-28 22:02:07 +00:00
map_bench_test.go sync: release m.mu during (*RWMutexMap).Range callbacks in sync_test 2017-07-20 18:51:09 +00:00
map_reference_test.go sync: release m.mu during (*RWMutexMap).Range callbacks in sync_test 2017-07-20 18:51:09 +00:00
map_test.go
map.go
mutex_test.go
mutex.go sync: remove note about creating with structures 2017-06-07 21:35:20 +00:00
once_test.go
once.go
pool_test.go sync: deflake TestPool and TestPoolNew 2017-06-28 22:02:07 +00:00
pool.go
runtime_sema_test.go
runtime.go
rwmutex_test.go runtime: add read/write mutex type 2017-06-19 17:40:38 +00:00
rwmutex.go runtime: add read/write mutex type 2017-06-19 17:40:38 +00:00
waitgroup_test.go
waitgroup.go sync: make clear that WaitGroup.Done decrements by one 2017-06-21 15:49:18 +00:00