[Haskell-cafe] system in forkIO

Andrea Rossato mailing_list at istitutocolli.org
Sun Sep 14 13:51:17 EDT 2008


On Sun, Sep 14, 2008 at 02:24:23PM -0300, Marco Túlio Gontijo e Silva wrote:
> and the result of ls only after I press a key.  Does getChar blocks the
> other threads?

yes, but you can use forkOS from Control.Concurrent and compile with
-threaded.

See the relevant documentation for the details.

Hope this helps,
Andrea


More information about the Haskell-Cafe mailing list