]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.14] runtime: don't call wakeNetPoller during timerModifying
authorIan Lance Taylor <iant@golang.org>
Mon, 23 Mar 2020 18:38:49 +0000 (11:38 -0700)
committerIan Lance Taylor <iant@golang.org>
Wed, 25 Mar 2020 20:24:45 +0000 (20:24 +0000)
commitca153f4db7e40f151dbd02081c0814194342428a
tree27cc3800e8a8d7350b93f631ca00600d89509719
parentf75a45c4d77ccd198773222c5adce3a23e8c024e
[release-branch.go1.14] runtime: don't call wakeNetPoller during timerModifying

Reduce the length of time that other timer functions can see timerModifying.
In particular avoid system calls.

For #38023
Fixes #38051

Change-Id: I1b61229c668e6085d9ee6dca9488a90055386c36
Reviewed-on: https://go-review.googlesource.com/c/go/+/224902
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
(cherry picked from commit 355f53f0a0a5d79032068d4914d7aea3435084ec)
Reviewed-on: https://go-review.googlesource.com/c/go/+/225277
src/runtime/time.go