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>
Loading
Please sign in to comment