Boost logo

Boost Users :

Subject: Re: [Boost-users] asio::deadline_timer::expires_at problem when systemtime changes
From: Christoph Duelli (duelli_at_[hidden])
Date: 2008-12-09 02:07:43


Jeff Gray wrote:

> raindog_at_[hidden] wrote:
>> Does your platform have anything that enables you to retrieve some value
>> that represents ms elapsed since startup?
>
> It is Linux based, and I believe there is a POSIX call to get that.But
> this is outside Boost and I was hoping to implement the solution in a
> portable manner as the application may be ported to other OSs later.
>
> I haven't seen a Boost time call that gets this information.
how about using expires_from_now() instead of expires_at()?

Christoph


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net