On 2022-04-30, Visa Hankala wrote:
> I am in two minds about EVFILT_USER. On the one hand, having it on
> OpenBSD might help with ports. On the other hand, it makes the kernel
> perform a task that userspace can already handle using existing
> interfaces.

I agree you could do this with just a pipe, but also it's a bit simpler
and it's not so very much code. It already exists, and seems at least one
project uses it. I think it's fine.

I also notice that libevent offers the event_active() function, which would
allow building a similar mechanism, so there's more precedent for directly
triggered events. (This function is not mentioned in the man page, however.)

Reply via email to