I have a hard time believing that will have anywhere near < 100ns granularity considering time.Sleep has microsecond only in testing.
James On Mon, Mar 5, 2018 at 5:00 AM, Frederic Landais <[email protected] > wrote: > Hello, > > have you considered using time.NewTicker > <https://golang.org/pkg/time/#NewTicker> ? > > Check the best answer of https://stackoverflow.com/ > questions/16466320/is-there-a-way-to-do-repetitive-tasks-at- > intervals-in-golang for an example > > Frederic > > -- > 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]. > For more options, visit https://groups.google.com/d/optout. > -- 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]. For more options, visit https://groups.google.com/d/optout.
