commit | 57af736625aaa69dfa099432bb67e0808eef3bcc | [log] [tgz] |
---|---|---|
author | Bryan C. Mills <bcmills@google.com> | Tue May 09 16:06:53 2017 -0400 |
committer | Bryan Mills <bcmills@google.com> | Wed May 10 20:14:52 2017 +0000 |
tree | d0c9c993bccc5a46800a8684c304098ee5eb1678 | |
parent | 305c7b3edb4364a58141b30686a61a87bdb79a3a [diff] |
syncmap: release m.mu during (*RWMutexMap).Range callbacks The mainline syncmap.Map has allowed mutations within Range callbacks since https://golang.org/cl/37342. The reference implementations used in map_bench_test need to do the same. Change-Id: Id73d254fa01cc64a1f00eb1903488796e1282423 Reviewed-on: https://go-review.googlesource.com/42956 Run-TryBot: Bryan Mills <bcmills@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>