Reputation: 79
I have a glib.timeout loop:
glib.TimeoutSecondsAdd(showstat, func() bool {
can I change the timeout interval from within the loop?
(this is written in Go/gotk3)
I'm updating data rates in a display, but if I start using too much memory I would like to increase the loop interval, otherwise I just have to stop updating the stats.
Upvotes: 1
Views: 35