[ntp:hackers] ntp and signalled IO

Poul-Henning Kamp phk at phk.freebsd.dk
Thu Apr 20 16:21:35 UTC 2006


In message <4447B3AD.6030602 at ntp.isc.org>, Danny Mayer writes:
>Poul-Henning Kamp wrote:
>> 
>> I'm simply talking about something as trivial as which file descriptor
>> has the lower integer numer so it gets taken first by select()
>> 
>
>This one confused me. Why is any one file descriptor more important than
>any other? Shouldn't they be dealt with equally?

Because we want to do the timestamp in userland as fast as possible
after packet capture, it's more important than say a refclocks
serial data stream.

But then again: lets not waste time on this, until we see if it is
a problem.


-- 
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 hackers mailing list