
12 Feb
2009
12 Feb
'09
3:45 p.m.
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.