Changes between Initial Version and Version 1 of Ticket #199, comment 3
- Timestamp:
- Jul 21, 2011, 2:05:40 AM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #199, comment 3
initial v1 7 7 2. It turns out that if one application closes its end of the pipe after writing a chunk of data to it, there is no guarantee that another application will be given a chance to read this chunk before the pipe is actually destroyed. 8 8 9 The last problem is the reason of the truncated data on the child end .9 The last problem is the reason of the truncated data on the child end: calling QProcess::closeWriteChannel() will close the parent end of the pipe regardless of whether the child has actually read the last chunk written to it.