
19 Sep
2008
19 Sep
'08
6:15 p.m.
On Fri, 2008-09-19 at 19:50 +0200, Manlio Perillo wrote:
But if every function that reads the data uses pread, then this should no more be a problem.
Or I'm missing some other thing?
If you used something like pread instead of hGetContents then yes that would not involve semi-closing a handle or doing lazy IO. Of course pread only works for seekable Handles like files, not terminals, pipes, sockets etc etc. Duncan