12 Feb
2009
12 Feb
'09
4:08 p.m.
On Thursday 12 February 2009 18:45:50 Igor R wrote:
Hello, I want some function / functor to run every n seconds, is there right timer in boost for that? I tried to loop deadline_timer but wasn't able to get it work more than one time.
You have to re-start the timer after it expires, i.e. call again expires_from_now(), async_wait() in the handler.
Didn't I do this in sample code?