
23 Nov
2009
23 Nov
'09
12:54 p.m.
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)