[Haskell-cafe] Project postmortem

Simon Marlow simonmar at microsoft.com
Fri Dec 2 08:16:31 EST 2005

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?


More information about the Haskell-Cafe mailing list