The following was asked by a coworker and after poking around the internet and not finding a good answer it seemed like a good question for here:
I am using POCO timers in my embedded code(running on Linux). The timers are a part of the Foundation component. The timers have three basic functions:
Timer.start();
Timer.stop();
Timer.restart();
I am trying to stop and then restart my timers and I can not get it to work... ...I have looked at all of the POCO samples and examples and there is nothing for timer.restart().
Does anyone have any insight into this, or a working code example stopping and restarting the timers? Even though the callback function isn't running, the timer will start and stop, but restart doesn't seem to be working.