source: rtems-docs/posix1003_1/thread_managment.rst @ ef0a063

4.115
Last change on this file since ef0a063 was ef0a063, checked in by Amar Takhar <amar@…>, on 01/17/16 at 00:14:55

Split document into seperate files by section.

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