On Wed, Jun 10, 2015 at 10:21 PM, Daurnimator <q...@daurnimator.com> wrote: > I'm working on adding support for "high priority" events to a user space > event library. > Conceptually, I need the equivalent of poll() with POLLPRI, but via kqueue.
POLLPRI only works for STREAMS. What sort of fd are you using this on? What does it *mean*? > FreeBSD and Apple OSX provide this via the 'EV_OOBAND' flag to EV_SET. Uh, I just checked against FreeBSD subversion I don't see an EV_OOBAND in their kqueue(2) manpage or <sys/event.h>. What version did you see this in? > Is there a way to wait for "high priority" events with kqueue on OpenBSD? Lacking a definition for "high priority", no. > I had a read through various kernel sources, but didn't manage to find > anything. > Could OpenBSD add support for the EV_OOBAND flag? What Problem Are You Trying To Solve? > Who is responsible for these sorts of things? Whomever is convinced it's worthwhile. Lacking a definition, it certainly can't be. Philip Guenther