1
0
mirror of https://github.com/golang/sync synced 2020-06-03 17:03:44 +00:00
sync/syncmap
Eric Rutherford cd5d95a43a syncmap: use type alias for Map
sync.Map was introduced in Go 1.9, this change updates the syncmap package to use a type alias
to sync.Map for 1.9 and later. It also updates the comments to reflect this change.

Fixes golang/go#33867

Change-Id: Ia58ad2bc409f8fcb8a7539ef165148315da5cfb1
Reviewed-on: https://go-review.googlesource.com/c/sync/+/192737
Reviewed-by: Bryan C. Mills <bcmills@google.com>
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2019-09-11 18:51:00 +00:00
..
go19.go syncmap: use type alias for Map 2019-09-11 18:51:00 +00:00
map_bench_test.go syncmap: release m.mu during (*RWMutexMap).Range callbacks 2017-05-10 20:14:52 +00:00
map_reference_test.go syncmap: release m.mu during (*RWMutexMap).Range callbacks 2017-05-10 20:14:52 +00:00
map_test.go syncmap: backport CL 42095 2017-05-04 18:26:18 +00:00
map.go syncmap: use type alias for Map 2019-09-11 18:51:00 +00:00
pre_go19.go syncmap: use type alias for Map 2019-09-11 18:51:00 +00:00