OSDN Git Service

(split) DP: release pages (catch up to 3.50).
[linuxjm/LDP_man-pages.git] / release / man3 / pthread_kill_other_threads_np.3
1 .\" Copyright (c) 2009 Linux Foundation, written by Michael Kerrisk
2 .\"     <mtk.manpages@gmail.com>
3 .\"
4 .\" %%%LICENSE_START(VERBATIM)
5 .\" Permission is granted to make and distribute verbatim copies of this
6 .\" manual provided the copyright notice and this permission notice are
7 .\" preserved on all copies.
8 .\"
9 .\" Permission is granted to copy and distribute modified versions of this
10 .\" manual under the conditions for verbatim copying, provided that the
11 .\" entire resulting derived work is distributed under the terms of a
12 .\" permission notice identical to this one.
13 .\"
14 .\" Since the Linux kernel and libraries are constantly changing, this
15 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
16 .\" responsibility for errors or omissions, or for damages resulting from
17 .\" the use of the information contained herein.  The author(s) may not
18 .\" have taken the same level of care in the production of this manual,
19 .\" which is licensed free of charge, as they might when working
20 .\" professionally.
21 .\"
22 .\" Formatted or processed versions of this manual, if unaccompanied by
23 .\" the source, must acknowledge the copyright and authors of this work.
24 .\" %%%LICENSE_END
25 .\"
26 .\"*******************************************************************
27 .\"
28 .\" This file was generated with po4a. Translate the source file.
29 .\"
30 .\"*******************************************************************
31 .TH PTHREAD_KILL_OTHER_THREADS_NP 3 2010\-09\-09 Linux "Linux Programmer's Manual"
32 .SH 名前
33 pthread_kill_other_threads_np \- プロセス内の他の全スレッドを終了する
34 .SH 書式
35 .nf
36 \fB#include <pthread.h>\fP
37
38 \fBvoid pthread_kill_other_threads_np(void);\fP
39 .fi
40 .SH 説明
41 .\" .SH VERSIONS
42 .\" Available since glibc 2.0
43 \fBpthread_kill_other_threads_np\fP() は、
44 LinuxThreads スレッド実装においてのみ効果がある。
45 LinuxThreads スレッド実装では、この関数を呼び出すと
46 アプリケーション内の全てのスレッドがすぐに終了される。
47 終了対象のスレッドの cancelability state と cancelability type は
48 無視され、それらのスレッドのクリーンアップハンドラは呼び出されない。
49 .SH 準拠
50 この関数は非標準の GNU による拡張である。
51 そのため、名前に "_np" (nonportable; 移植性がない) という接尾辞が
52 付いている。
53 .SH 注意
54 \fBpthread_kill_other_threads_np\fP() は、
55 スレッドが \fBexecve\fP(2) や同様の関数を呼び出す直前に
56 呼ばれることを目的として用意されている。
57 この関数は、(廃止予定の) LinuxThreads スレッド実装における、
58 \fBexecve\fP(2) の際にアプリケーションの他のスレッドが自動的に
59 終了されないという制限を解決するために設計された。
60
61 NPTL スレッド実装では、 \fBpthread_kill_other_threads_np\fP() は存在するが、
62 何もしない(NPTL 実装は \fBexecve\fP(2) の際に適切な動作をするので、
63 何もする必要がないということだ)。
64 .SH 関連項目
65 \fBexecve\fP(2), \fBpthread_cancel\fP(3), \fBpthread_setcancelstate\fP(3),
66 \fBpthread_setcanceltype\fP(3), \fBpthreads\fP(7)
67 .SH この文書について
68 この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.50 の一部
69 である。プロジェクトの説明とバグ報告に関する情報は
70 http://www.kernel.org/doc/man\-pages/ に書かれている。