Skip to content

Commit 1f3a2e9

Browse files
author
Vladimir Kotal
committed
waitpid for posix_spawn
1 parent 0fc708e commit 1f3a2e9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

proc.tex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -901,7 +901,8 @@
901901
\item \label{SPAWN} Creating new process with \texttt{fork} and replacing the
902902
process address space etc. with a new one after \texttt{exec} has been done is
903903
expensive and has other problems. To make kernel create new process directly
904-
from executable \texttt{posix\_spawn} can be used.
904+
from executable \texttt{posix\_spawn} can be used. The new process can be waited
905+
on with \texttt{waitpid} etc. just like in the case of \texttt{fork}.
905906
Example: \example{exec/spawn.c}
906907
\end{itemize}
907908

0 commit comments

Comments
 (0)