aboutsummaryrefslogtreecommitdiff
path: root/src/errors/example_test.go
diff options
context:
space:
mode:
authorChangkun Ou <hi@changkun.de>2022-12-28 15:04:58 +0100
committerGopher Robot <gobot@golang.org>2023-01-20 19:38:29 +0000
commitf07910bd577f73b81e4f7117c7cfdf9cf7579028 (patch)
treec9ce941f8e917b53970d8ccfb18e74b9a63e90a9 /src/errors/example_test.go
parent5724daa6825db0a9097254060633439e6538d845 (diff)
downloadgo-f07910bd577f73b81e4f7117c7cfdf9cf7579028.tar.xz
sync: document memory model for Swap/CompareAnd{Swap,Delete} in Map
CL 381316 documented the memory model of Map's APIs. However, the newly introduced Swap, CompareAndSwap, and CompareAndDelete are missing from this documentation as CL 399094 did not add this info. This CL specifies the defined read/write operations of the new Map APIs. For #51972 Change-Id: I519a04040a0b429a3f978823a183cd62e42c90ae Reviewed-on: https://go-review.googlesource.com/c/go/+/459715 TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Run-TryBot: Changkun Ou <mail@changkun.de> Auto-Submit: Bryan Mills <bcmills@google.com> Reviewed-by: Bryan Mills <bcmills@google.com>
Diffstat (limited to 'src/errors/example_test.go')
0 files changed, 0 insertions, 0 deletions