Boost logo

Boost Users :

Subject: Re: [Boost-users] [ASIO] Timer question
From: Pau Garcia i Quiles (pgquiles_at_[hidden])
Date: 2009-11-23 07:54:10


On Mon, Nov 23, 2009 at 12:21 PM, Bjarne Laursen <bla_at_[hidden]> wrote:
> Yes, I would say its broken. But it is a matter of defintion. I asked about
> this in an earlier thread.
> I created some code to fix it. See
> https://svn.boost.org/trac/boost/ticket/3504

I've fixed your code so that it work on all Unix platforms where
clock_gettime and CLOCK_MONOTONIC are available. The docs should also
note on Linux with glibc >= 2.11, linking with librt is required. It
might be required with glibc 2.10 too, but I have not tested.

-- 
Pau Garcia i Quiles
http://www.elpauer.org
(Due to my workload, I may need 10 days to answer)

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