Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Dec 2017 10:17:05 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 203366] kevent: EV_CLEAR on fifo does not work correctly
Message-ID:  <bug-203366-8-XdE6K9UmaV@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-203366-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-203366-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D203366

--- Comment #8 from Jan Kokem=C3=BCller <jan.kokemueller@gmail.com> ---
NetBSD does something similar, but in addition they trigger the wakeup on s=
ome
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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-203366-8-XdE6K9UmaV>