]> Cypherpunks.ru repositories - gostls13.git/commit
runtime: clarify which work needs spinning coordination
authorMichael Pratt <mpratt@google.com>
Tue, 16 Feb 2021 15:52:38 +0000 (10:52 -0500)
committerMichael Pratt <mpratt@google.com>
Fri, 16 Apr 2021 21:04:16 +0000 (21:04 +0000)
commit13368ab56a75134910e70db4bc0e2860e6a97829
treeee89671ec51ef9c0bd49060b746df78530623c0a
parent800fb11efb8a57d8aaf11052e3a9d91138964f21
runtime: clarify which work needs spinning coordination

The overview comments discuss readying goroutines, which is the most
common source of work, but timers and idle-priority GC work also require
the same synchronization w.r.t. spinning Ms.

This CL should have no functional changes.

For #43997
Updates #44313

Change-Id: I7910a7f93764dde07c3ed63666277eb832bf8299
Reviewed-on: https://go-review.googlesource.com/c/go/+/307912
Trust: Michael Pratt <mpratt@google.com>
Run-TryBot: Michael Pratt <mpratt@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
src/runtime/proc.go