In article <CAEnbY+cOA+=gsdrt_bdesdj0sfjvjcwljeragbk4yyq8_6d...@mail.gmail.com>, Daurnimator <q...@daurnimator.com> wrote: > >Ah, you're possibly right about it missing on FreeBSD, I got confused :P > >On OSX though, poll() with POLLPRI is actually implemented **using** >kqueue with EV_OOBAND. >See: >http://fxr.watson.org/fxr/source/bsd/kern/sys_generic.c?v=xnu-1699.24.8#L149
The only "high priority events" are socket out of band data. EV_OOB is only used in 3 c files: http://fxr.watson.org/fxr/ident?v=xnu-2050.18.24&i=EV_OOB It is simple enough for us to do the same if that's useful. christos