On Thu, Jul 18, 2002 at 05:58:56PM +0200, Jeremy D'Hoinne wrote:
> I've forgottent to precise that servers involved use thread library
> (compilation with -pthread flag)
Ahhh - this may explain what you are seeing - I think that the
threaded library uses gettimeofday, which would see the time going
backwards. The non-threaded version of select uses a kernel
"getmicrouptime" call, which shouldn't have this problem.
It is possible a getuptime call might be useful for people implimenting
things like the threading library.
OTOH, there is usually no need to step the clock backwards on FreeBSD
after boot. Because get gettimeofday returns the time in UTC there
will be no jump for daylight savings. The only remaining problem
are leap seconds, which don't happen very often.
David.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message