-
Notifications
You must be signed in to change notification settings - Fork 17.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sync/atomic: CompareAndSwapPointer should be CompareAndSwap [1.17 backport] #47703
Comments
I don't have the impersonate / forge author permission, so I can't personally do the cherry-pick of https://go-review.googlesource.com/c/go/+/342210: |
I have permission but I'm getting "internal server error". I guess I'll try again later. |
Approved as a documentation fix for a new-to-Go-1.17 API. Only 1.17 needs this backport. |
Change https://golang.org/cl/342329 mentions this issue: |
Closed by merging fdd6dfd to release-branch.go1.17. |
…Swap The documentation for CompareAndSwap atomic/value incorrectly labelled the function as CompareAndSwapPointer. This PR fixes that. Updates #47699. Fixes #47703. Change-Id: I6db08fdfe166570b775248fd24550f5d28e3434e GitHub-Last-Rev: 41f7870 GitHub-Pull-Request: #47700 Reviewed-on: https://go-review.googlesource.com/c/go/+/342210 Reviewed-by: Keith Randall <khr@golang.org> Reviewed-by: Daniel Martí <mvdan@mvdan.cc> Trust: Daniel Martí <mvdan@mvdan.cc> Run-TryBot: Daniel Martí <mvdan@mvdan.cc> TryBot-Result: Go Bot <gobot@golang.org> (cherry picked from commit 0a0a160) Reviewed-on: https://go-review.googlesource.com/c/go/+/342329 Trust: Dmitri Shuralyov <dmitshur@golang.org> Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
@rhysh requested issue #47699 to be considered for backport to the next 1.17 minor release.
The text was updated successfully, but these errors were encountered: