On 28/04/2010 03:02, Dimitry Golubovsky wrote:
Hi,

Interesting: my program is compiled with -threaded, and when I run it
with +RTS -N I get:

<program name>: forking not supported with +RTS -N<n>  greater than 1

This is probably about forkProcess rather than forkIO/forkOS, but why
this limitation? rawSystem works fine from within a thread started by
forkIO, but why cannot I use forkProcess?

No good reason, other than it's tremendously difficult to implement.

Cheers,
        Simon
_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to