Default value for numCapabilities?
Simon Marlow
marlowsd at gmail.com
Wed Apr 28 04:26:02 EDT 2010
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
More information about the Glasgow-haskell-users
mailing list