]> Cypherpunks repositories - gostls13.git/commit
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>
Tue, 24 Mar 2020 19:39:44 +0000 (19:39 +0000)
commit355f53f0a0a5d79032068d4914d7aea3435084ec
treef831e9948b2d0b3a4b834b472ed179308d367b22
parentf95ff37cb06652b5b4dd244e72b939a36258c273
runtime: don't call wakeNetPoller during timerModifying

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

Fixes #38023

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>
src/runtime/time.go