- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for drainAsync (0.1 sec)
-
src/time/tick_test.go
select { case <-C: return default: } Sleep(sched) } } // drainAsync removes potential stale time values after Stop/Reset. // When using Go 1 async timers, draining one or two values // may be needed after Reset or Stop (see comments in body for details). drainAsync := func() { if synctimerchan { // sync timers must have the right semantics without draining:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 17:10:37 UTC 2024 - 14.7K bytes - Viewed (0)