File: pthread_detach.3

package info (click to toggle)
manpages-ja 0.5.0.0.20061115-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 19,788 kB
  • ctags: 4
  • sloc: sh: 13,215; perl: 157; makefile: 117
file content (112 lines) | stat: -rw-r--r-- 2,943 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
.\"   Copyright (C) 1996-1999 Free Software Foundation, Inc.
.\"
.\"   Permission is granted to make and distribute verbatim copies of
.\" this manual provided the copyright notice and this permission notice are
.\" preserved on all copies.
.\"
.\"   Permission is granted to copy and distribute modified versions of
.\" this manual under the conditions for verbatim copying, provided that
.\" the entire resulting derived work is distributed under the terms of a
.\" permission notice identical to this one.
.\"
.\"   Permission is granted to copy and distribute translations of this
.\" manual into another language, under the above conditions for modified
.\" versions, except that this permission notice may be stated in a
.\" translation approved by the Foundation.
.\"
.\" Copyright (C) 1996 Xavier Leroy.
.\" 
.\" Japanese Version Copyright (C) 1999 GOTO, Masanori
.\"         all rights reserved.
.\" Translated on Tue Dec 14 21:30:57 JST 1999
.\"         by GOTO, Masanori <gotom@debian.or.jp>.
.\" Modified Sun Feb  2 01:00:26 JST 2003
.\"         by Suzuki Takashi.
.\"
.\"WORD:    thread              å
.\"WORD:    detach              ǥå
.\"WORD:    detached state      ǥå
.\"WORD:    memory resources    
.\"WORD:    free                
.\"WORD:    synchronize         Ʊ
.\"WORD:    termination         λ
.\"WORD:    create              
.\"WORD:    attribute           °
.\"WORD:    joinable            ήǽ
.\"WORD:    join                ή
.\"WORD:    error code          顼
.\"
.\"
.TH PTHREAD_DETACH 3 LinuxThreads

.SH "̾"
pthread_detach \- ¹Υåɤǥå֤ˤ

.SH ""
.B #include <pthread.h>

.BI "int pthread_detach(pthread_t " th ");"

.SH ""
.B "pthread_detach"
ϥå
.I "th"
ǥå֤ˤ롣
.I "th"
λȤˡ
.I "th"
ˤäƾ񤵤Ƥ񸻤¨¤˲뤳Ȥݾڤ롣
ʤ顢ˤä¾Υåɤ
.B "pthread_join"
Ѥ
.I "th"
νλƱ뤳ȤǤʤʤ롣

åɤ
.BR "pthread_create" (3)
°
.B "detachstate"
Ѥ뤳Ȥˤäơǽ餫ǥå֤
뤳ȤǤ롣
Ф
.B "pthread_detach"
Ϲήǽ֤Ȥ졢˥ǥå֤ˤɬפνФƤ
åɤŬѤ롣

.B "pthread_detach"
λ塢
.I "th"
Ф
.B "pthread_join"
¹ԤƤ⼺Ԥ롣⤷
.B "pthread_detach"
ƤФ줿̤Υåɤå
.I "th"
νλԤäƤ (joining) ʤС
.B "pthread_detach"
ϲ⤻
.I "th"
ήǽ֤ΤޤޤˤƤ

.SH "֤"
 0 ֤롣顼ξϡ 0 Υ顼ɤ֤롣

.SH "顼"
.TP
.B "ESRCH"
.I "th"
ǻꤷåɤĤʤ
.TP
.B "EINVAL"
å
.I "th"
ϴ˥ǥå֤ˤ롣
.TP

.SH ""
Xavier Leroy <Xavier.Leroy@inria.fr>

.SH "Ϣ"
.BR "pthread_create" (3),
.BR "pthread_join" (3),
.BR "pthread_attr_setdetachstate" (3)