We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef23991 commit de005a0Copy full SHA for de005a0
proc.tex
@@ -873,6 +873,11 @@
873
\item Note that you have to use macros from the previous slide to get the
874
child's return value out of the status information.
875
\item \label{WAITPID} Example: \example{wait/wait.c}
876
+\item Creating new process with \texttt{fork} and replacing the process
877
+address space etc. with a new one after \texttt{exec} has been done is
878
+expensive and has other problems. To make kernel create new process directly
879
+from executable \texttt{posix\_spawn} can be used.
880
+Example: \example{exec/spawn.c}
881
\end{itemize}
882
883
%%%%%
0 commit comments