diff options
| author | Austin Clements <austin@google.com> | 2020-04-28 20:54:31 -0400 |
|---|---|---|
| committer | Austin Clements <austin@google.com> | 2020-04-30 00:42:35 +0000 |
| commit | 4e00b4c366f06036509201d3bf19ee2c8fd767c8 (patch) | |
| tree | 1d5b4dbcd897708364d7b31dceafdec5a87f7ceb /src/debug | |
| parent | df2862cf54858ba5b1ada7d2ca99e57f3c13dd23 (diff) | |
| download | go-4e00b4c366f06036509201d3bf19ee2c8fd767c8.tar.xz | |
runtime: move condition into wakep
All five calls to wakep are protected by the same check of nmidle and
nmspinning. Move this check into wakep.
Change-Id: I2094eec211ce551e462e87614578f37f1896ba38
Reviewed-on: https://go-review.googlesource.com/c/go/+/230757
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Diffstat (limited to 'src/debug')
0 files changed, 0 insertions, 0 deletions
