[Haskell-cafe] Re: I/O interface

Ketil Malde ketil+haskell at ii.uib.no
Thu Jan 13 04:42:49 EST 2005


Keean Schupke <k.schupke at imperial.ac.uk> writes:

> At the end of the day IO is serial by nature (to one device anyway),
> so the way to do this into one file is to have one thread that reads
> and writes, and to 'send' read and write requests over channels from
> the threads that need the work done

Would the stream proposal make this possible and easy?  I.e. could the
IO thread provide (say) output streams to the other threads, and pass
writes on to its own output stream?

-kzm
-- 
If I haven't seen further, it is by standing in the footprints of giants



More information about the Haskell-Cafe mailing list