go/src/sync
Mateusz Poliwczak 6bead8f77a sync/atomic: disallow type conversions of atomic.Pointer[T]
Fixes #56603

Change-Id: I6af9d80201025ae4028bfaa4a62e5de9ac0c501d
GitHub-Last-Rev: e6ed5e1451
GitHub-Pull-Request: golang/go#56604
Reviewed-on: https://go-review.googlesource.com/c/go/+/448275
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
2022-11-07 21:25:12 +00:00
..
atomic sync/atomic: disallow type conversions of atomic.Pointer[T] 2022-11-07 21:25:12 +00:00
cond.go sync: clarify Cond.Wait documentation 2022-09-26 21:58:42 +00:00
cond_test.go
example_pool_test.go all: gofmt -w -r 'interface{} -> any' src 2021-12-13 18:45:54 +00:00
example_test.go
export_test.go all: gofmt -w -r 'interface{} -> any' src 2021-12-13 18:45:54 +00:00
map.go sync: use atomic.Pointer for entry 2022-10-31 20:12:59 +00:00
map_bench_test.go all: gofmt -w -r 'interface{} -> any' src 2021-12-13 18:45:54 +00:00
map_reference_test.go all: gofmt -w -r 'interface{} -> any' src 2021-12-13 18:45:54 +00:00
map_test.go all: gofmt -w -r 'interface{} -> any' src 2021-12-13 18:45:54 +00:00
mutex.go runtime, sync, sync/atomic: document happens-before guarantees 2022-06-06 20:48:03 +00:00
mutex_test.go runtime: write much more direct test for semaphore waiter scalability 2022-06-16 21:25:35 +00:00
once.go Revert "sync: convert Once.done to atomic type" 2022-09-07 13:22:04 +00:00
once_test.go
pool.go runtime, sync, sync/atomic: document happens-before guarantees 2022-06-06 20:48:03 +00:00
pool_test.go all: separate doc comment from //go: directives 2022-04-05 17:54:15 +00:00
poolqueue.go all: gofmt -w -r 'interface{} -> any' src 2021-12-13 18:45:54 +00:00
runtime.go runtime: make the wait reason for a g blocked on a mutex more specific 2022-09-16 16:32:27 +00:00
runtime2.go all: go fix -fix=buildtag std cmd (except for bootstrap deps, vendor) 2021-10-28 18:17:57 +00:00
runtime2_lockrank.go all: go fix -fix=buildtag std cmd (except for bootstrap deps, vendor) 2021-10-28 18:17:57 +00:00
runtime_sema_test.go
rwmutex.go runtime: make the wait reason for a g blocked on a mutex more specific 2022-09-16 16:32:27 +00:00
rwmutex_test.go sync: add Mutex.TryLock, RWMutex.TryLock, RWMutex.TryRLock 2021-10-29 17:13:13 +00:00
waitgroup.go sync: use atomic.Uint64 for WaitGroup state 2022-08-19 01:34:22 +00:00
waitgroup_test.go