Skip to content

Commit b75c609

Browse files
committed
Improve 'forkProcess' documentation wrt haskell#62
1 parent 1cb1352 commit b75c609

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

System/Posix/Process/Common.hsc

+4
Original file line numberDiff line numberDiff line change
@@ -449,6 +449,10 @@ The exception masking state of the executed action is inherited
449449
threads are not copied into the child process, it's easy to go wrong:
450450
e.g. by accessing some shared resource that was held by another thread
451451
in the parent.
452+
453+
GHC note: 'forkProcess' is not currently very well supported when using multiple
454+
processors (@+RTS -N@), although it is supported with @-threaded@ as
455+
long as only one processor is being used.
452456
-}
453457

454458
#if !defined(HAVE_GETPID)

0 commit comments

Comments
 (0)