1 | .. comment SPDX-License-Identifier: CC-BY-SA-4.0 |
---|
2 | |
---|
3 | Thread Management |
---|
4 | ################# |
---|
5 | |
---|
6 | Threads |
---|
7 | ======= |
---|
8 | |
---|
9 | Thread Functions |
---|
10 | ================ |
---|
11 | |
---|
12 | Thread Creation Attributes |
---|
13 | -------------------------- |
---|
14 | |
---|
15 | .. code:: c |
---|
16 | |
---|
17 | pthread_attr_init(), Function, Implemented |
---|
18 | pthread_attr_destroy(), Function, Implemented |
---|
19 | pthread_attr_setstacksize(), Function, Implemented |
---|
20 | pthread_attr_getstacksize(), Function, Implemented |
---|
21 | pthread_attr_setstackaddr(), Function, Implemented |
---|
22 | pthread_attr_getstackaddr(), Function, Implemented |
---|
23 | pthread_attr_setdetachstate(), Function, Implemented |
---|
24 | pthread_attr_getdetachstate(), Function, Implemented |
---|
25 | PTHREAD_CREATE_JOINABLE, Constant, Implemented |
---|
26 | PTHREAD_CREATE_DETACHED, Constant, Implemented |
---|
27 | |
---|
28 | Thread Creation |
---|
29 | --------------- |
---|
30 | |
---|
31 | .. code:: c |
---|
32 | |
---|
33 | pthread_create(), Function, Implemented |
---|
34 | |
---|
35 | Wait for Thread Termination |
---|
36 | --------------------------- |
---|
37 | |
---|
38 | .. code:: c |
---|
39 | |
---|
40 | pthread_join(), Function, Implemented |
---|
41 | |
---|
42 | Detaching a Thread |
---|
43 | ------------------ |
---|
44 | |
---|
45 | .. code:: c |
---|
46 | |
---|
47 | pthread_detach(), Function, Implemented |
---|
48 | |
---|
49 | Thread Termination |
---|
50 | ------------------ |
---|
51 | |
---|
52 | .. code:: c |
---|
53 | |
---|
54 | pthread_exit(), Function, Implemented |
---|
55 | |
---|
56 | Get Thread ID |
---|
57 | ------------- |
---|
58 | |
---|
59 | .. code:: c |
---|
60 | |
---|
61 | pthread_self(), Function, Implemented |
---|
62 | |
---|
63 | Compare Thread IDs |
---|
64 | ------------------ |
---|
65 | |
---|
66 | .. code:: c |
---|
67 | |
---|
68 | pthread_equal(), Function, Implemented |
---|
69 | |
---|
70 | Dynamic Package Initialization |
---|
71 | ------------------------------ |
---|
72 | |
---|
73 | .. code:: c |
---|
74 | |
---|
75 | pthread_once(), Function, Implemented |
---|
76 | PTHREAD_ONCE_INIT, Constant, Implemented |
---|
77 | |
---|
78 | .. COMMENT: COPYRIGHT (c) 1988-2002. |
---|
79 | |
---|
80 | .. COMMENT: On-Line Applications Research Corporation (OAR). |
---|
81 | |
---|
82 | .. COMMENT: All rights reserved. |
---|
83 | |
---|