$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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)