OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / glibc-linuxthreads / release / man3 / pthread_detach.3
1 .\"   Copyright (C) 1996-1999 Free Software Foundation, Inc.
2 .\"
3 .\"   Permission is granted to make and distribute verbatim copies of
4 .\" this manual provided the copyright notice and this permission notice are
5 .\" preserved on all copies.
6 .\"
7 .\"   Permission is granted to copy and distribute modified versions of
8 .\" this manual under the conditions for verbatim copying, provided that
9 .\" the entire resulting derived work is distributed under the terms of a
10 .\" permission notice identical to this one.
11 .\"
12 .\"   Permission is granted to copy and distribute translations of this
13 .\" manual into another language, under the above conditions for modified
14 .\" versions, except that this permission notice may be stated in a
15 .\" translation approved by the Foundation.
16 .\"
17 .\" Copyright (C) 1996 Xavier Leroy.
18 .\" 
19 .\" Japanese Version Copyright (C) 1999 GOTO, Masanori
20 .\"         all rights reserved.
21 .\" Translated on Tue Dec 14 21:30:57 JST 1999
22 .\"         by GOTO, Masanori <gotom@debian.or.jp>.
23 .\" Modified Sun Feb  2 01:00:26 JST 2003
24 .\"         by Suzuki Takashi.
25 .\"
26 .\"WORD:    thread              ¥¹¥ì¥Ã¥É
27 .\"WORD:    detach              ¥Ç¥¿¥Ã¥Á
28 .\"WORD:    detached state      ¥Ç¥¿¥Ã¥Á¾õÂÖ
29 .\"WORD:    memory resources    ¥á¥â¥ê»ñ¸»
30 .\"WORD:    free                ²òÊü
31 .\"WORD:    synchronize         Æ±´ü¤¹¤ë
32 .\"WORD:    termination         ½ªÎ»
33 .\"WORD:    create              À¸À®
34 .\"WORD:    attribute           Â°À­
35 .\"WORD:    joinable            ¹çή²Äǽ
36 .\"WORD:    join                ¹çή
37 .\"WORD:    error code          ¥¨¥é¡¼¥³¡¼¥É
38 .\"
39 .\"
40 .TH PTHREAD_DETACH 3 LinuxThreads
41
42 .SH "̾Á°"
43 pthread_detach \- ¼Â¹ÔÃæ¤Î¥¹¥ì¥Ã¥É¤ò¥Ç¥¿¥Ã¥Á¾õÂ֤ˤ¹¤ë
44
45 .SH "½ñ¼°"
46 .B #include <pthread.h>
47
48 .BI "int pthread_detach(pthread_t " th ");"
49
50 .SH "ÀâÌÀ"
51 .B "pthread_detach"
52 ¤Ï¥¹¥ì¥Ã¥É
53 .I "th"
54 ¤ò¥Ç¥¿¥Ã¥Á¾õÂ֤ˤ¹¤ë¡£¤³¤ì¤Ï
55 .I "th"
56 ¤¬½ªÎ»¤·¤¿¤È¤­¤Ë¡¢
57 .I "th"
58 ¤Ë¤è¤Ã¤Æ¾ÃÈñ¤µ¤ì¤Æ¤¤¤¿¥á¥â¥ê»ñ¸»¤ò¨ºÂ¤Ë²òÊü¤¹¤ë¤³¤È¤òÊݾڤ¹¤ë¡£
59 ¤·¤«¤·¤Ê¤¬¤é¡¢¤³¤ì¤Ë¤è¤Ã¤Æ¾¤Î¥¹¥ì¥Ã¥É¤Ï
60 .B "pthread_join"
61 ¤òÍѤ¤¤Æ
62 .I "th"
63 ¤Î½ªÎ»¤ËƱ´ü¤¹¤ë¤³¤È¤¬¤Ç¤­¤Ê¤¯¤Ê¤ë¡£
64
65 ¥¹¥ì¥Ã¥É¤Ï
66 .BR "pthread_create" (3)
67 ¤Î°À­¤Ë
68 .B "detachstate"
69 ¤òÍѤ¤¤ë¤³¤È¤Ë¤è¤Ã¤Æ¡¢ºÇ½é¤«¤é¥Ç¥¿¥Ã¥Á¾õÂÖ¤ÇÀ¸À®
70 ¤¹¤ë¤³¤È¤¬¤Ç¤­¤ë¡£
71 ¤³¤ì¤ËÂФ·¡¢
72 .B "pthread_detach"
73 ¤Ï¹çή²Äǽ¾õÂ֤Ȥ·¤ÆÀ¸À®¤µ¤ì¡¢¸å¤Ë¥Ç¥¿¥Ã¥Á¾õÂ֤ˤ¹¤ëɬÍפνФƤ­¤¿
74 ¥¹¥ì¥Ã¥É¤ËŬÍѤµ¤ì¤ë¡£
75
76 .B "pthread_detach"
77 ¤¬´°Î»¤·¤¿¸å¡¢
78 .I "th"
79 ¤ËÂФ·¤Æ
80 .B "pthread_join"
81 ¤ò¼Â¹Ô¤·¤Æ¤â¼ºÇÔ¤¹¤ë¡£¤â¤·
82 .B "pthread_detach"
83 ¤¬¸Æ¤Ð¤ì¤¿»þ¤ËÊ̤Υ¹¥ì¥Ã¥É¤¬¥¹¥ì¥Ã¥É
84 .I "th"
85 ¤Î½ªÎ»¤òÂԤäƤ¤¤ë (joining) ¤Ê¤é¤Ð¡¢
86 .B "pthread_detach"
87 ¤Ï²¿¤â¤»¤º¡¢
88 .I "th"
89 ¤ò¹çή²Äǽ¾õÂ֤Τޤޤˤ·¤Æ¤ª¤¯¡£
90
91 .SH "ÊÖ¤êÃÍ"
92 À®¸ù¤¹¤ë¤È 0 ¤¬Ê֤롣¥¨¥é¡¼¤Î¾ì¹ç¤Ï¡¢Èó 0 ¤Î¥¨¥é¡¼¥³¡¼¥É¤¬Ê֤롣
93
94 .SH "¥¨¥é¡¼"
95 .TP
96 .B "ESRCH"
97 .I "th"
98 ¤Ç»ØÄꤷ¤¿¥¹¥ì¥Ã¥É¤¬¸«¤Ä¤«¤é¤Ê¤¤¡£
99 .TP
100 .B "EINVAL"
101 ¥¹¥ì¥Ã¥É
102 .I "th"
103 ¤Ï´û¤Ë¥Ç¥¿¥Ã¥Á¾õÂ֤ˤ¢¤ë¡£
104 .TP
105
106 .SH "Ãø¼Ô"
107 Xavier Leroy <Xavier.Leroy@inria.fr>
108
109 .SH "´ØÏ¢¹àÌÜ"
110 .BR "pthread_create" (3),
111 .BR "pthread_join" (3),
112 .BR "pthread_attr_setdetachstate" (3)