Re: Waiting for 'high priority' events with kqueue

2015-06-15 Thread Daurnimator
On 15 June 2015 at 22:40, Mark Kettenis wrote: >> I'm using this inside an event handling library/framework. >> It uses a kqueue rather than poll() or select() under the hood. >> The users of our API expect that they'd get the same behaviour as if >> they used poll directly themselves. > > Most us

Re: Waiting for 'high priority' events with kqueue

2015-06-14 Thread Daurnimator
On 14 June 2015 at 14:51, Philip Guenther wrote: > On Wed, Jun 10, 2015 at 10:21 PM, Daurnimator 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 POLLP

Waiting for 'high priority' events with kqueue

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