go/src/sync
Ian Lance Taylor d6473a1263 syscall: avoid serializing forks on ForkLock
Fixes #23558
Fixes #54162

Change-Id: I3cf6efe466080cdb17e171218e9385ccb272c301
Reviewed-on: https://go-review.googlesource.com/c/go/+/421441
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: David Chase <drchase@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
2023-05-23 17:25:09 +00:00
..
atomic all: fix a lot of comments 2023-05-10 12:59:20 +00:00
cond.go sync: clarify Cond.Wait documentation 2022-09-26 21:58:42 +00:00
cond_test.go sync: fix TestCondSignalStealing flake 2023-03-22 18:52:42 +00:00
example_pool_test.go
example_test.go
export_test.go
map.go sync: document memory model for Swap/CompareAnd{Swap,Delete} in Map 2023-01-20 19:38:29 +00:00
map_bench_test.go sync: remove unused const 2022-12-12 14:30:12 +00:00
map_reference_test.go sync: add new Map method Swap, CompareAndSwap, CompareAndDelete 2022-11-15 17:35:42 +00:00
map_test.go sync: add new Map method Swap, CompareAndSwap, CompareAndDelete 2022-11-15 17:35:42 +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
oncefunc.go sync: implement OnceFunc, OnceValue, and OnceValues 2023-03-31 20:01:17 +00:00
oncefunc_test.go sync: implement OnceFunc, OnceValue, and OnceValues 2023-03-31 20:01:17 +00:00
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 runtime: make the wait reason for a g blocked on a mutex more specific 2022-09-16 16:32:27 +00:00
runtime2.go
runtime2_lockrank.go
runtime_sema_test.go
rwmutex.go syscall: avoid serializing forks on ForkLock 2023-05-23 17:25:09 +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