http://d.puremagic.com/issues/show_bug.cgi?id=11282



--- Comment #7 from Hans Fugal <[email protected]> 2013-10-16 16:47:28 PDT ---
To elaborate, there are 4 buffers involved. Two of them are in the operating
system (the pipe buffers), and two are in our space. If we try to flush all of
our buffer before reading, then the pipe buffers can fill up and cause
deadlock. Brad is saying that just solving the pipe buffers problem doesn't go
as far as he'd like - he wants to also solve the problem of having to buffer in
the program too, i.e. generally the problem where stdin may be very large (or
infinite) and processing stdout doesn't want to have to read all the way to EOF
which may be very large (or infinite).

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to