The current code wakes up every second. That's evil if you are trying to save battery power.
It should be reasonable to get rid of the timer interrupts. The general idea is to look ahead and find the task that will actually do something and adjust the timeout on the select to go off then. It would probably take some rearrangements of the code to split out the how-far-ahead idea. -- These are my opinions. I hate spam. _______________________________________________ devel mailing list [email protected] http://lists.ntpsec.org/mailman/listinfo/devel
