$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] [asio] deadline_timer makes wrong delay when using date command
From: Igor R (boost.lists_at_[hidden])
Date: 2009-09-07 10:11:56
> Well I did not. I used
> expires_at(expires_at() + TIMETOADD);
> because that is the behaviour that is specified for the timer function that
> I'm implementing.
>
> but I have just tested expire_from_now(). And it does the exact same thing.
Probably something like this would help:
expires_at(ptime::microsec_clock::universal_time() + TIMETOADD);