source: rtems-docs/posix1003_1/thread_managment.rst @ 9aafb39

4.115
Last change on this file since 9aafb39 was 489740f, checked in by Chris Johns <chrisj@…>, on 05/20/16 at 02:47:09

Set SPDX License Identifier in each source file.

  • Property mode set to 100644
File size: 1.6 KB
Line 
1.. comment SPDX-License-Identifier: CC-BY-SA-4.0
2
3Thread Management
4#################
5
6Threads
7=======
8
9Thread Functions
10================
11
12Thread 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
28Thread Creation
29---------------
30
31.. code:: c
32
33    pthread_create(), Function, Implemented
34
35Wait for Thread Termination
36---------------------------
37
38.. code:: c
39
40    pthread_join(), Function, Implemented
41
42Detaching a Thread
43------------------
44
45.. code:: c
46
47    pthread_detach(), Function, Implemented
48
49Thread Termination
50------------------
51
52.. code:: c
53
54    pthread_exit(), Function, Implemented
55
56Get Thread ID
57-------------
58
59.. code:: c
60
61    pthread_self(), Function, Implemented
62
63Compare Thread IDs
64------------------
65
66.. code:: c
67
68    pthread_equal(), Function, Implemented
69
70Dynamic 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
Note: See TracBrowser for help on using the repository browser.