
2 Dec
2005
2 Dec
'05
8:16 a.m.
On 02 December 2005 12:25, Joel Reymont wrote:
I thought that if -threaded is not used then all the blocking IO is assigned a separate OS thread.
No - the runtime is completely single-threaded without -threaded. Blocking I/O is managed by the runtime. With -threaded, blocking I/O is managed by a Haskell thread. The programmer shouldn't see any difference in the behaviour of I/O. Is the documentation for -threaded lacking? I realise it's a bit terse, but do you have any concrete suggestions for improving it? Cheers, Simon