On Fri, Feb 28, 2003 at 03:49:59 +0100, Fons
Adriaensen wrote:
Is this really new ? I was porting some C++
thread classes (originally
developed for Solaris) to 2.4.19 this week. The ITC mechanism uses
pthread_cond_timedwait(), which takes a struct timespec * referring to
an absolute time, the same you can get with clock_gettime(). I had the
impression this gave me almost microsecond resolution timing (but I did
not look closesly at the precision at the time).
There is a bif difference between how my resolution you can specify and
how accurate it is.
I know... but when I ran the unit tests I didn't look to closely at
the accuracy, only to happy that it was working at all :-).
I'll very this next week.
--
FA