_exit.2: Clarify that raw _exit() system call terminates only the calling thread

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2020-03-04 22:36:31 +01:00
parent 07f462e9f2
commit cd356fa192
1 changed files with 3 additions and 0 deletions

View File

@ -118,6 +118,9 @@ wrapper function invoked the kernel system call of the same name.
Since glibc 2.3, the wrapper function invokes
.BR exit_group (2),
in order to terminate all of the threads in a process.
(The raw
.BR _exit ()
system call terminates only the calling thread.)
.SH SEE ALSO
.BR execve (2),
.BR exit_group (2),