[Bug 203366] kevent: EV_CLEAR on fifo does not work correctly
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Dec 20 10:17:06 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203366
--- Comment #8 from Jan Kokemüller <jan.kokemueller at gmail.com> ---
NetBSD does something similar, but in addition they trigger the wakeup on some
other condition (flag PIPE_SIGNALR):
https://github.com/NetBSD/src/blob/7c38ee86e0812f49fe3889bfc1c59757688d8d16/sys/kern/sys_pipe.c#L622
This flag is set for example if this is the first read(2) after a write(2). I'm
not quite sure yet why this is needed, though.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list