Re: Posix threads: CLOCK_REALTIME/CLOCK_MONOTONIC

2005-06-29 Thread John Baldwin
On Wednesday 29 June 2005 03:57 am, Norbert Koch wrote: > Hello. > > I am working on a multi-threaded application which > may call settimeofday() and therefore may have > serious problems with timing calculations. > > In my applications I calclulate time differences > using clock_gettime(CLOCK_MONO

Posix threads: CLOCK_REALTIME/CLOCK_MONOTONIC

2005-06-29 Thread Norbert Koch
Hello. I am working on a multi-threaded application which may call settimeofday() and therefore may have serious problems with timing calculations. In my applications I calclulate time differences using clock_gettime(CLOCK_MONOTONIC) under FreeBSD-5. Under FreeBSD-4 it is a trivial kernel patch i