summaryrefslogtreecommitdiffstats
path: root/doc/posix1003.1/ch16.t
blob: e139cea95c912e476cbdcf2d3eca45319de30bf9 (plain) (blame)
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
@c
@c  COPYRIGHT (c) 1988-2002.
@c  On-Line Applications Research Corporation (OAR).
@c  All rights reserved.
@c
@c  $Id$
@c

@chapter Thread Management

@section Threads

@section Thread Functions

@subsection Thread Creation Attributes

@example
pthread_attr_init(), Function, Implemented
pthread_attr_destroy(), Function, Implemented
pthread_attr_setstacksize(), Function, Implemented
pthread_attr_getstacksize(), Function, Implemented
pthread_attr_setstackaddr(), Function, Implemented
pthread_attr_getstackaddr(), Function, Implemented
pthread_attr_setdetachstate(), Function, Implemented
pthread_attr_getdetachstate(), Function, Implemented
PTHREAD_CREATE_JOINABLE, Constant, Implemented
PTHREAD_CREATE_DETACHED, Constant, Implemented
@end example

@subsection Thread Creation

@example
pthread_create(), Function, Implemented
@end example

@subsection Wait for Thread Termination

@example
pthread_join(), Function, Implemented
@end example

@subsection Detaching a Thread

@example
pthread_detach(), Function, Implemented
@end example

@subsection Thread Termination

@example
pthread_exit(), Function, Implemented
@end example

@subsection Get Thread ID

@example
pthread_self(), Function, Implemented
@end example

@subsection Compare Thread IDs

@example
pthread_equal(), Function, Implemented
@end example

@subsection Dynamic Package Initialization

@example
pthread_once(), Function, Implemented
PTHREAD_ONCE_INIT, Constant, Implemented
@end example