go/src/sync
qiulaidongfeng 18b2c45b0a sync: document why copyChecker checks the condition twice
Fixes #40924

Change-Id: I249a278be1ec3c67088819af4456e6c393431724

Change-Id: I249a278be1ec3c67088819af4456e6c393431724
GitHub-Last-Rev: 772c7ae7e1
GitHub-Pull-Request: golang/go#61978
Reviewed-on: https://go-review.googlesource.com/c/go/+/518961
Reviewed-by: David Chase <drchase@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Run-TryBot: Austin Clements <austin@google.com>
Auto-Submit: Austin Clements <austin@google.com>
2023-08-16 15:36:31 +00:00
..
atomic all: fix a lot of comments 2023-05-10 12:59:20 +00:00
cond.go sync: document why copyChecker checks the condition twice 2023-08-16 15:36:31 +00:00
cond_test.go
example_pool_test.go
example_test.go
export_test.go
map.go
map_bench_test.go
map_reference_test.go
map_test.go
mutex.go
mutex_test.go
once.go
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 sync: panic rather than throw on nil *Pool 2023-07-31 22:18:47 +00:00
pool_test.go sync: panic rather than throw on nil *Pool 2023-07-31 22:18:47 +00:00
poolqueue.go
runtime.go
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
waitgroup_test.go