
19 Sep
2008
19 Sep
'08
5:59 p.m.
Bryan O'Sullivan ha scritto:
On Fri, Sep 19, 2008 at 2:31 PM, Manlio Perillo
mailto:manlio_perillo@libero.it> wrote: By the way, this phrase: "We allow multiple threads to read different chunks at once by supplying each one with a distinct file handle, all reading the same file" here: http://book.realworldhaskell.org/read/concurrent-and-multicore-programming.h...
IMHO is not correct, or at least misleading.
It's both correct and, er, leading. The files are opened in a single thread, and then the file handles are read by multiple threads.
Ah, right, thanks. They are read with ByteString.Lazy. Manlio Perillo