go/src/sync
Sean Liao bc0406333f sync: document RWMutex locks cannot be upgraded / downgraded
Fixes #38859

Change-Id: I9f4f6fa4cb529aaadfb3812e3a5c0da982a95f68
Reviewed-on: https://go-review.googlesource.com/c/go/+/633415
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
2024-12-04 02:44:30 +00:00
..
atomic sync/atomic: make intrinsics noescape except 64bits op on 32bits arch and unsafe.Pointer 2024-11-15 17:11:46 +00:00
cond.go sync: include links to the Go memory model in package documentation 2024-06-07 21:14:51 +00:00
cond_test.go
example_pool_test.go
example_test.go
export_test.go all: make struct comments match struct names 2024-07-11 17:23:45 +00:00
hashtriemap.go sync: make HashTrieMap[any, any] the default implementation of Map 2024-11-18 20:35:42 +00:00
map.go sync: make HashTrieMap[any, any] the default implementation of Map 2024-11-18 20:35:42 +00:00
map_bench_test.go sync: add HashTrieMap to Map tests and benchmarks 2024-11-18 20:35:37 +00:00
map_reference_test.go sync: add HashTrieMap to Map tests and benchmarks 2024-11-18 20:35:37 +00:00
map_test.go sync: make HashTrieMap[any, any] the default implementation of Map 2024-11-18 20:35:42 +00:00
mutex.go internal/sync: move sync.Mutex implementation into new package 2024-11-18 19:57:35 +00:00
mutex_test.go
once.go sync: add explicit noCopy fields to Map, Mutex, and Once 2024-11-18 18:52:54 +00:00
once_test.go
oncefunc.go
oncefunc_test.go
pool.go sync: include links to the Go memory model in package documentation 2024-06-07 21:14:51 +00:00
pool_test.go all: change from sort functions to slices functions where feasible 2024-05-23 01:00:11 +00:00
poolqueue.go
runtime.go internal/synctest: new package for testing concurrent code 2024-11-19 19:40:40 +00:00
runtime2.go
runtime2_lockrank.go
runtime_sema_test.go
rwmutex.go sync: document RWMutex locks cannot be upgraded / downgraded 2024-12-04 02:44:30 +00:00
rwmutex_test.go
waitgroup.go internal/synctest: new package for testing concurrent code 2024-11-19 19:40:40 +00:00
waitgroup_test.go