Skip to content

Commit

Permalink
Improve 'forkProcess' documentation wrt haskell#62
Browse files Browse the repository at this point in the history
  • Loading branch information
hasufell committed Jul 17, 2022
1 parent 1cb1352 commit b75c609
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions System/Posix/Process/Common.hsc
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,10 @@ The exception masking state of the executed action is inherited
threads are not copied into the child process, it's easy to go wrong:
e.g. by accessing some shared resource that was held by another thread
in the parent.
GHC note: 'forkProcess' is not currently very well supported when using multiple
processors (@+RTS -N@), although it is supported with @-threaded@ as
long as only one processor is being used.
-}

#if !defined(HAVE_GETPID)
Expand Down

0 comments on commit b75c609

Please sign in to comment.