
27 Apr
2010
27 Apr
'10
10:02 p.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
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