aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads/man/pthread_kill_other_threads_np.man
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2007-07-12 18:26:36 +0000
committerJakub Jelinek <jakub@redhat.com>2007-07-12 18:26:36 +0000
commit0ecb606cb6cf65de1d9fc8a919bceb4be476c602 (patch)
tree2ea1f8305970753e4a657acb2ccc15ca3eec8e2c /linuxthreads/man/pthread_kill_other_threads_np.man
parent7d58530341304d403a6626d7f7a1913165fe2f32 (diff)
downloadglibc-0ecb606cb6cf65de1d9fc8a919bceb4be476c602.tar.xz
glibc-0ecb606cb6cf65de1d9fc8a919bceb4be476c602.zip
2.5-18.1
Diffstat (limited to 'linuxthreads/man/pthread_kill_other_threads_np.man')
-rw-r--r--linuxthreads/man/pthread_kill_other_threads_np.man40
1 files changed, 0 insertions, 40 deletions
diff --git a/linuxthreads/man/pthread_kill_other_threads_np.man b/linuxthreads/man/pthread_kill_other_threads_np.man
deleted file mode 100644
index 0de42d52d5..0000000000
--- a/linuxthreads/man/pthread_kill_other_threads_np.man
+++ /dev/null
@@ -1,40 +0,0 @@
-.TH PTHREAD_KILL_OTHER_THREADS_NP 3 LinuxThreads
-
-.SH NAME
-pthread_kill_other_threads_np \- terminate all threads in program except calling thread
-
-.SH SYNOPSIS
-#include <pthread.h>
-
-void pthread_kill_other_threads_np(void);
-
-.SH DESCRIPTION
-!pthread_kill_other_threads_np! is a non-portable LinuxThreads extension.
-It causes all threads in the program to terminate immediately, except
-the calling thread which proceeds normally. It is intended to be
-called just before a thread calls one of the !exec! functions,
-e.g. !execve!(2).
-
-Termination of the other threads is not performed through
-!pthread_cancel!(3) and completely bypasses the cancellation
-mechanism. Hence, the current settings for cancellation state and
-cancellation type are ignored, and the cleanup handlers are not
-executed in the terminated threads.
-
-.SH AUTHOR
-Xavier Leroy <Xavier.Leroy@inria.fr>
-
-.SH "SEE ALSO"
-!execve!(2),
-!pthread_setcancelstate!(3),
-!pthread_setcanceltype!(3),
-!pthread_cancel!(3).
-
-.SH BUGS
-
-According to POSIX 1003.1c, a successful !exec*! in one of the threads
-should terminate automatically all other threads in the program.
-This behavior is not yet implemented in LinuxThreads.
-Calling !pthread_kill_other_threads_np! before !exec*! achieves much
-of the same behavior, except that if !exec*! ultimately fails, then
-all other threads are already killed.