From: Keith Randall Date: Wed, 12 May 2021 20:55:59 +0000 (-0700) Subject: doc: document additional atomic.Value methods X-Git-Tag: go1.17beta1~113 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=217f5dd496;p=gostls13.git doc: document additional atomic.Value methods For #44513. Fixes #46022. Change-Id: Id1d87fbd4034461953760ce77201f87ed723ff88 Reviewed-on: https://go-review.googlesource.com/c/go/+/319549 Trust: Keith Randall Reviewed-by: Ian Lance Taylor --- diff --git a/doc/go1.17.html b/doc/go1.17.html index f00c649e04..5ab99c29ed 100644 --- a/doc/go1.17.html +++ b/doc/go1.17.html @@ -507,7 +507,9 @@ Do not send CLs removing the interior tags from such phrases.
sync/atomic

- TODO: https://golang.org/cl/241678: add (*Value).Swap and (*Value).CompareAndSwap + atomic.Value now has Swap and + CompareAndSwap methods that provide + additional atomic operations.