Re: kqueue EV_DISPATCH and EV_EOF interaction

2018-04-08 Thread Mike Belopuhov
On Tue, Apr 03, 2018 at 17:00 +0200, Lukas Larsson wrote: > On Fri, Mar 30, 2018 at 1:51 AM, Mike Belopuhov wrote: > > > On Fri, Mar 30, 2018 at 01:21 +0200, Mike Belopuhov wrote: > > > > > > Hi, > > > > > > This appears to be an issue with reactivating disabled event sources

Re: kqueue EV_DISPATCH and EV_EOF interaction

2018-04-03 Thread Lukas Larsson
On Fri, Mar 30, 2018 at 1:51 AM, Mike Belopuhov wrote: > On Fri, Mar 30, 2018 at 01:21 +0200, Mike Belopuhov wrote: > > > > Hi, > > > > This appears to be an issue with reactivating disabled event sources > > in kqueue_register. Something along the lines of FreeBSD commits:

Re: kqueue EV_DISPATCH and EV_EOF interaction

2018-03-29 Thread Mike Belopuhov
On Fri, Mar 30, 2018 at 01:21 +0200, Mike Belopuhov wrote: > > Hi, > > This appears to be an issue with reactivating disabled event sources > in kqueue_register. Something along the lines of FreeBSD commits: > > https://svnweb.freebsd.org/base?view=revision=274560 and >

Re: kqueue EV_DISPATCH and EV_EOF interaction

2018-03-29 Thread Mike Belopuhov
On Thu, Mar 29, 2018 at 15:09 +0200, Lukas Larsson wrote: > Hello, > > I've been re-writing the polling mechanisms in the Erlang VM and stumbled > across > something that might be a bug in the OpenBSD implementation of kqueue. > > When using EV_DISPATCH, the event is never triggered again after