On Mon, Oct 13, 2025 at 5:17 PM Duncan Harris <[email protected]> wrote: > > Is it safe to make calls to time.Timer.Reset on the same timer instance from > multiple goroutines? Or should these always be done in the same goroutine?
It is safe in the sense that the program will not crash and the timer data structures will be fine. Of course it is unpredictable which Reset will finally take effect. Ian -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/golang-nuts/CAOyqgcXC%3DLw3cFrT%2BVccRRv1PZmiNc-oKo2zrfq0-WZ3s1SG%3DA%40mail.gmail.com.
