go/src/sync
Joe Tsai b0144b3843 sync: switch Map to use atomic.Pointer
There was no noticeable change in performance.

Change-Id: I9c57bf836c8b6066e0620afb3d536ce99e4b9d87
Reviewed-on: https://go-review.googlesource.com/c/go/+/426074
Reviewed-by: Bryan Mills <bcmills@google.com>
Reviewed-by: Heschi Kreinick <heschi@google.com>
Auto-Submit: Joseph Tsai <joetsai@digital-static.net>
Run-TryBot: Joseph Tsai <joetsai@digital-static.net>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-08-29 20:09:02 +00:00
..
atomic sync/atomic: remove test64err in test 2022-08-05 15:04:35 +00:00
cond.go sync: add more notes about Cond behavior 2022-06-17 21:35:36 +00:00
cond_test.go
example_pool_test.go
example_test.go
export_test.go
map.go sync: switch Map to use atomic.Pointer 2022-08-29 20:09:02 +00:00
map_bench_test.go
map_reference_test.go
map_test.go
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 runtime, sync, sync/atomic: document happens-before guarantees 2022-06-06 20:48:03 +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
poolqueue.go
runtime.go
runtime2.go
runtime2_lockrank.go
runtime_sema_test.go
rwmutex.go runtime, sync, sync/atomic: document happens-before guarantees 2022-06-06 20:48:03 +00:00
rwmutex_test.go
waitgroup.go sync: use atomic.Uint64 for WaitGroup state 2022-08-19 01:34:22 +00:00
waitgroup_test.go