Closed fogti closed 1 year ago
Thanks for bringing this to my attention!
While this is a very welcome change, it's unfortunate that they didn't copy NetBSD's kqueue1
interface. Now there are two kqueue1
versions with different semantics. Is there any chance that FreeBSD could change their kqueue1
interface to match NetBSD's which has been there for quite a long time? Surely epoll-shim
is not the only project which does configure time checking for kqueue1
vs. kqueue
and will now stumble over this issue...
To match NetBSD's kqueue1
, it would be nice if they accepted O_NONBLOCK
as well. Otherwise, I would have to insert some FreeBSD specific logic which filters O_NONBLOCK
before it enters kqueue1
.
It looks like this is going to be fixed: https://reviews.freebsd.org/D39377
I think we can close this now that FreeBSD is in-line with NetBSD
https://lists.freebsd.org/archives/freebsd-current/2023-March/003391.html