Re: [Boost-users] [ASIO] Timer question

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 -Bjarne

On Mon, Nov 23, 2009 at 12:21 PM, Bjarne Laursen
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)

On Mon, Nov 23, 2009 at 6:40 AM, Bjarne Laursen
On Mon, 23 Nov 2009 13:54:10 +0100, Pau Garcia i Quiles
wrote: I've fixed your code so that it work on all Unix platforms
Excelent, I though something like that would be needed, but I am new to both Linux and Boost ;-)
I like that, that kind of timer makes more sense for relative times to me. Now, who is going to commit it to trunk(/release) after verifying it works and making some tests and documentation (a lot of work left)?
participants (3)
-
Bjarne Laursen
-
OvermindDL1
-
Pau Garcia i Quiles