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

Jan Kokemüller <jan.kokemuel...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jan.kokemuel...@gmail.com

--- Comment #7 from Jan Kokemüller <jan.kokemuel...@gmail.com> ---
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.
_______________________________________________
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