Golang timers make me paranoid about the language, the docs, and my understanding of space, time, and English. https://play.golang.org/p/97B2Q37jPW
-
-
@patio11 You wrote the canonical race condition. Try making the time.Sleep 124ms. -
@tqbf Try making it ten minutes. Reset doesn't clear the value from C. This isn't race behavior. - 2 more replies
New conversation -
-
-
@patio11 That code is inherently racy given timers push results on channels. Is your timer GC load that large? If not just make a new timer.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.