28 Apr
2010
28 Apr
'10
10:02 a.m.
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? On Tue, Apr 27, 2010 at 12:35 PM, Bryan O'Sullivan <bos@serpentine.com> wrote:
With 6.12.1 and newer, no "-N" argument implies 1 core, "-Nk" implies k cores, and "-N" without an argument means "use all".
-- Dimitry Golubovsky Anywhere on the Web