commit | cd5d95a43a6e21273425c7ae415d3df9ea832eeb | [log] [tgz] |
---|---|---|
author | Eric Rutherford <erutherford@gmail.com> | Fri Aug 30 18:09:31 2019 -0500 |
committer | Bryan C. Mills <bcmills@google.com> | Wed Sep 11 18:51:00 2019 +0000 |
tree | 8c997bcba93dc06939deaf64c87ac6041c9d4dd0 | |
parent | 112230192c580c3556b8cee6403af37a4fc5f28c [diff] |
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>
This repository provides Go concurrency primitives in addition to the ones provided by the language and “sync” and “sync/atomic” packages.
The easiest way to install is to run go get -u golang.org/x/sync
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/sync
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the sync repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/sync:” in the subject line, so it is easy to find.