Skip to content

Commit 73c8747

Browse files
authored
Improve 'forkProcess' documentation wrt #62 (#231)
1 parent 910a7ab commit 73c8747

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+
capabilities (@+RTS -N@), although it is supported with @-threaded@ as
455+
long as only one capability is being used.
452456
-}
453457

454458
#if !defined(HAVE_GETPID)

0 commit comments

Comments
 (0)