Skip to content

Commit 93a2e89

Browse files
committed
exit is _exit wrapper
1 parent 11898ca commit 93a2e89

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

proc.tex

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -212,12 +212,13 @@
212212
\end{slide}
213213

214214
\begin{itemize}
215-
\item After the process is terminated either using an \texttt{exit} call or as a
216-
consequence of a signal, it will transition to a zombie state as the kernel
217-
needs to store a return value for the process. The whole memory of the process is
218-
freed, the only remaining piece is the \texttt{proc} structure. The process can
219-
go away for good only after its parent will retrieve its return value using the
220-
\texttt{wait} call. If the original parent is no longer available, the
215+
\item After the process is terminated either using the \texttt{\_exit} call
216+
or as a consequence of a signal, it will transition to a zombie state as the
217+
kernel needs to store a return value for the process. The whole memory
218+
of the process is freed, the only remaining piece is the \texttt{proc}
219+
structure. The process can go away for good only after its parent will
220+
retrieve its return value using the \texttt{wait} call.
221+
If the original parent is no longer available, the
221222
\texttt{init} process which became the new parent will call \texttt{wait}.
222223
\item In today's Unix systems processes are usually not swapped out as whole,
223224
only individual pages are.

0 commit comments

Comments
 (0)