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

Jan Kokemüller <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #7 from Jan Kokemüller <[email protected]> ---
Created attachment 188967
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=188967&action=edit
wake up pipe writers in edge triggered way

What do you think about the attached patch?

I believe the EV_EOF condition is cleared correctly by EV_CLEAR -- but each
time you try to read(2) at EOF the pipeselwakeup() down in pipe_read()
re-triggers the EOF condition. It should be enough to just wake up the writers
when there was actually some data read.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to