blob: 276827c105757173529269796be980eb3ec749da (
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
|
@c
@c COPYRIGHT (c) 1988-1998.
@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()
pthread_attr_destroy()
pthread_attr_setstacksize()
pthread_attr_getstacksize()
pthread_attr_setstackaddr()
pthread_attr_getstackaddr()
pthread_attr_setdetachstate()
pthread_attr_getdetachstate()
@end example
@subsection Thread Creation
@example
pthread_create()
@end example
@subsection Wait for Thread Termination
@example
pthread_join()
@end example
@subsection Detaching a Thread
@example
pthread_detach()
@end example
@subsection Thread Termination
@example
pthread_exit()
@end example
@subsection Get Thread ID
@example
pthread_self()
@end example
@subsection Compare Thread IDs
@example
pthread_equal()
@end example
@subsection Dynamic Package Initialization
@example
pthread_once()
@end example
|