$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] Inverval timer.
From: Alexei Sergeev (alexeisergeev_at_[hidden])
Date: 2009-02-12 11:08:03
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?