Default value for numCapabilities?

Bryan O'Sullivan bos at serpentine.com
Wed Apr 28 02:02:14 EDT 2010


On Tue, Apr 27, 2010 at 7:02 PM, Dimitry Golubovsky <golubovsky at gmail.com>wrote:

>
> This is probably about forkProcess rather than forkIO/forkOS, but why
> this limitation?


That's a standard Unix limitation. A child process is forked with one
thread, so if the parent has multiple threads running, it's overwhelmingly
likely that the child will be unable to execute correctly.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/glasgow-haskell-users/attachments/20100428/901c76b4/attachment.html


More information about the Glasgow-haskell-users mailing list