]> Cypherpunks repositories - gostls13.git/commit
runtime: add Gosched to TestSelectStackAdjust loop
authorIan Lance Taylor <iant@golang.org>
Thu, 5 Dec 2019 21:44:01 +0000 (13:44 -0800)
committerIan Lance Taylor <iant@golang.org>
Fri, 6 Dec 2019 03:07:20 +0000 (03:07 +0000)
commitd2dec04056cfa33c70b7fc4a72fd3d98b78bf385
treec175bb98efed1308b75559a359f3145901e64beb
parenta037582efff56082631508b15b287494df6e9b69
runtime: add Gosched to TestSelectStackAdjust loop

Give the runtime more of a chance to do other work in a tight loop.

Fixes #34693

Change-Id: I8df6173d2c93ecaccecf4520a6913b495787df78
Reviewed-on: https://go-review.googlesource.com/c/go/+/210217
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/runtime/chan_test.go