mirror of
https://github.com/golang/go
synced 2024-11-06 13:46:16 -07:00
507a44dc22
When the procUnpin is placed after shared.pushHead, there is no need for x as a flag to indicate the previous process. This CL can make the logic clear, and at the same time reduce a redundant judgment. Change-Id: I34ec9ba4cb5b5dbdf13a8f158b90481fed248cf5 Reviewed-on: https://go-review.googlesource.com/c/go/+/360059 Reviewed-by: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com> Run-TryBot: Ian Lance Taylor <iant@google.com> Reviewed-by: David Chase <drchase@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> |
||
---|---|---|
.. | ||
atomic | ||
cond_test.go | ||
cond.go | ||
example_pool_test.go | ||
example_test.go | ||
export_test.go | ||
map_bench_test.go | ||
map_reference_test.go | ||
map_test.go | ||
map.go | ||
mutex_test.go | ||
mutex.go | ||
once_test.go | ||
once.go | ||
pool_test.go | ||
pool.go | ||
poolqueue.go | ||
runtime2_lockrank.go | ||
runtime2.go | ||
runtime_sema_test.go | ||
runtime.go | ||
rwmutex_test.go | ||
rwmutex.go | ||
waitgroup_test.go | ||
waitgroup.go |