go/src/sync
Jeff Wentworth 0a0a160d4d sync/atomic: fix documentation for CompareAndSwap
Fixes #47699

The documentation for CompareAndSwap atomic/value incorrectly labelled the function as CompareAndSwapPointer. This PR fixes that.

Change-Id: I6db08fdfe166570b775248fd24550f5d28e3434e
GitHub-Last-Rev: 41f7870792
GitHub-Pull-Request: golang/go#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>
2021-08-14 16:56:14 +00:00
..
atomic sync/atomic: fix documentation for CompareAndSwap 2021-08-14 16:56:14 +00:00
cond.go
cond_test.go
example_pool_test.go
example_test.go
export_test.go
map.go sync: update misleading comment in map.go about entry type 2021-04-08 14:08:29 +00:00
map_bench_test.go
map_reference_test.go
map_test.go
mutex.go
mutex_test.go
once.go
once_test.go
pool.go Revert "sync: improve sync.Pool object stealing" 2021-04-26 18:54:39 +00:00
pool_test.go Revert "sync: improve sync.Pool object stealing" 2021-04-26 18:54:39 +00:00
poolqueue.go
runtime.go
runtime2.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
runtime2_lockrank.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
runtime_sema_test.go
rwmutex.go
rwmutex_test.go
waitgroup.go
waitgroup_test.go