https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203366

--- Comment #8 from Jan Kokemüller <jan.kokemuel...@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.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to