tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Waiting for 'high priority' events with kqueue



Hi,

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.

FreeBSD and Apple OSX provide this via the 'EV_OOBAND' flag to EV_SET.
However, NetBSD (and OpenBSD) do not.

Is there a way to wait for "high priority" events with kqueue on NetBSD?
I had a read through various kernel sources, but didn't manage to find anything.
Could NetBSD add support for the EV_OOBAND flag?
Who is responsible for these sorts of things?

--
Daurnimator

PS, I'm not an NetBSD user myself, I'm just trying to keep a
cross-platform library cross-platform.

PPS, I'm not subscribed to the list, please ensure you Cc me on replies.



Home | Main Index | Thread Index | Old Index