[ntp:hackers] ntp and signalled IO
Poul-Henning Kamp
phk at phk.freebsd.dk
Tue Apr 18 17:12:51 UTC 2006
In message <2533.1145380270 at sa.vix.com>, Paul Vixie writes:
>> >but eventlib won't make any timings worse, it'll just make the code better.
>>
>> Well, it might result in a different order of the event scheduling
>> compared to a hand-rolled loop and thus impact userland timestamping
>> of packet reception.
>
>that's currently all in how one sets up the callbacks. priority queuing is
>considered an upper level matter. but i'm willing to add something like
>"evPriorityFD(evContext, evFileID, int)" if that's of any use here.
I'm simply talking about something as trivial as which file descriptor
has the lower integer numer so it gets taken first by select()
--
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