
28 Apr
2010
28 Apr
'10
4:26 a.m.
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