cvs commit: src/sys/sys time.h src/sys/kern kern_time.c

Poul-Henning Kamp phk at phk.freebsd.dk
Tue Nov 29 22:02:27 GMT 2005


In message <XFMail.20051129134256.jdp at polstra.com>, John Polstra writes:
>On 28-Nov-2005 Poul-Henning Kamp wrote:
>> I've looked a lot at this in the ISC eventlib (bind8) but there is
>> no way to save one timestamp per iteration without getting creeping
>> imprecision in the timer controlled events.
>
>Would it help if we had something like select/poll that took an
>absolute time (a deadline) instead of a timeout -- as is done by
>pthread_cond_timedwait?

There are indeed many ways this could be done, but it won't help
much in practice when libisc is written to be portable over a wide
range of operating systems.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the cvs-src mailing list