- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for updateMinWhenHeap (0.17 sec)
-
src/runtime/time.go
println("timer heap len", len(ts.heap), "!= atomic len", n) throw("bad timer heap len") } } // updateMinWhenHeap sets ts.minWhenHeap to ts.heap[0].when. // The caller must have locked ts or the world must be stopped. func (ts *timers) updateMinWhenHeap() { assertWorldStoppedOrLockHeld(&ts.mu) if len(ts.heap) == 0 { ts.minWhenHeap.Store(0) } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 29 14:36:24 UTC 2024 - 37.5K bytes - Viewed (0)