We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a0acfc commit 6f686d1Copy full SHA for 6f686d1
1 file changed
src/runtime/scheduler_threads.go
@@ -79,8 +79,8 @@ func timerRunner() {
79
// Using a futex, so that the wait is exited early when adding a new
80
// (sooner-to-expire) timer.
81
val := timerFutex.Load()
82
- timerQueueLock.Unlock()
83
timeout := ticksToNanoseconds(timerQueue.whenTicks() - now)
+ timerQueueLock.Unlock()
84
timerFutex.WaitUntil(val, uint64(timeout))
85
continue
86
}
0 commit comments