Путеводитель по Руководству Linux

  User  |  Syst  |  Libr  |  Device  |  Files  |  Other  |  Admin  |  Head  |



   exit_group    ( 2 )

выйти из всех потоков в процессе (exit all threads in a process)

Имя (Name)

exit_group - exit all threads in a process

Синопсис (Synopsis)

#include <sys/syscall.h>       /* Definition of SYS_* constants */
       #include <unistd.h>

noreturn void syscall(SYS_exit_group, int status);

Note: glibc provides no wrapper for exit_group(), necessitating the use of syscall(2).


Описание (Description)

This system call is equivalent to _exit(2) except that it
       terminates not only the calling thread, but all threads in the
       calling process's thread group.

Возвращаемое значение (Return value)

This system call does not return.

Версии (Versions)

This call is present since Linux 2.5.35.

Стандарты (Conforming to)

This call is Linux-specific.

Примечание (Note)

Since glibc 2.3, this is the system call invoked when the
       _exit(2) wrapper function is called.

Смотри также (See also)

exit(2)