diff options
Diffstat (limited to 'doc/ref/posix.texi')
-rw-r--r-- | doc/ref/posix.texi | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/ref/posix.texi b/doc/ref/posix.texi index 7ca2fb01b..6cd90bc6a 100644 --- a/doc/ref/posix.texi +++ b/doc/ref/posix.texi @@ -1870,10 +1870,11 @@ the integer process ID of the child. Note that it is unsafe to fork a process that has multiple threads running, as only the thread that calls @code{primitive-fork} will persist in the child. Any resources that other threads held, such as -locked mutexes or open file descriptors, are lost. Indeed, @acronym{POSIX} -specifies that only async-signal-safe procedures are safe to call after -a multithreaded fork, which is a very limited set. Guile issues a -warning if it detects a fork from a multi-threaded program. +locked mutexes or open file descriptors, are lost. Indeed, +@acronym{POSIX} specifies that only async-signal-safe procedures are +safe to call after a multithreaded fork, which is a very limited set. +Guile issues a warning if it detects a fork from a multi-threaded +program. If you are going to @code{exec} soon after forking, the procedures in @code{(ice-9 popen)} may be useful to you, as they fork and exec within |