[ntp:hackers] ntp and signalled IO

Paul Vixie paul at vix.com
Tue Apr 18 17:18:32 UTC 2006


> >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()

evGetNext currently implements descriptor magnitude fairness, in that it
will remember what descriptor it left off at in the previous fd_mask scan,
and start there again next time.  are you asking for a global option to
turn this off and always call select() (never reusing masks between calls
to evGetNext) and always start from zero?


More information about the hackers mailing list