source: rtems-docs/posix1003-1/execution_scheduling.rst @ 72a62ad

4.115
Last change on this file since 72a62ad was 72a62ad, checked in by Chris Johns <chrisj@…>, on 11/03/16 at 05:58:08

Rename all manuals with an _ to have a -. It helps released naming of files.

  • Property mode set to 100644
File size: 3.5 KB
Line 
1.. comment SPDX-License-Identifier: CC-BY-SA-4.0
2
3Execution Scheduling
4####################
5
6Scheduling Parameters
7=====================
8
9.. code:: c
10
11    struct sched_param, Type, Implemented
12
13Scheduling Policies
14===================
15
16.. code:: c
17
18    SCHED_FIFO, Constant, Implemented
19    SCHED_RR, Constant, Implemented
20    SCHED_OTHER, Constant, Implemented
21
22NOTE: RTEMS adds SCHED_SPORADIC.
23
24SCHED_FIFO
25----------
26
27SCHED_RR
28--------
29
30SCHED_OTHER
31-----------
32
33Process Scheduling Functions
34============================
35
36Set Scheduling Parameters
37-------------------------
38
39.. code:: c
40
41    sched_setparam(), Function, Dummy Implementation
42
43Get Scheduling Parameters
44-------------------------
45
46.. code:: c
47
48    sched_getparam(), Function, Dummy Implementation
49
50Set Scheduling Policy and Scheduling Parameters
51-----------------------------------------------
52
53.. code:: c
54
55    sched_setscheduler(), Function, Dummy Implementation
56
57Get Scheduling Policy
58---------------------
59
60.. code:: c
61
62    sched_getscheduler(), Function, Dummy Implementation
63
64Yield Processor
65---------------
66
67.. code:: c
68
69    sched_yield(), Function, Implemented
70
71Get Scheduling Parameter Limits
72-------------------------------
73
74.. code:: c
75
76    sched_get_priority_max(), Function, Implemented
77    sched_get_priority_min(), Function, Implemented
78    sched_get_priority_rr_get_interval(), Function, Implemented
79
80Thread Scheduling
81=================
82
83Thread Scheduling Attributes
84----------------------------
85
86.. code:: c
87
88    PTHREAD_SCOPE_PROCESS, Constant, Implemented
89    PTHREAD_SCOPE_SYSTEM, Constant, Implemented
90
91Scheduling Contention Scope
92---------------------------
93
94Scheduling Allocation Domain
95----------------------------
96
97Scheduling Documentation
98------------------------
99
100Thread Scheduling Functions
101===========================
102
103Thread Creation Scheduling Attributes
104-------------------------------------
105
106.. code:: c
107
108    pthread_attr_setscope(), Function, Implemented
109    pthread_attr_getscope(), Function, Implemented
110    pthread_attr_setinheritsched(), Function, Implemented
111    pthread_attr_getinheritsched(), Function, Implemented
112    pthread_attr_setschedpolicy(), Function, Implemented
113    pthread_attr_getschedpolicy(), Function, Implemented
114    pthread_attr_setschedparam(), Function, Implemented
115    pthread_attr_getschedparam(), Function, Implemented
116    PTHREAD_INHERIT_SCHED, Constant, Implemented
117    PTHREAD_EXPLICIT_SCHED, Constant, Implemented
118
119Dynamic Thread Scheduling Parameters Access
120-------------------------------------------
121
122.. code:: c
123
124    pthread_setschedparam(), Function, Implemented
125    pthread_getschedparam(), Function, Implemented
126
127Synchronization Scheduling
128==========================
129
130Mutex Initialization Scheduling Attributes
131------------------------------------------
132
133.. code:: c
134
135    pthread_mutexattr_setprotocol(), Function, Implemented
136    pthread_mutexattr_getprotocol(), Function, Implemented
137    pthread_mutexattr_setprioceiling(), Function, Implemented
138    pthread_mutexattr_getprioceiling(), Function, Implemented
139    PTHREAD_PRIO_NONE, Constant, Implemented
140    PTHREAD_PRIO_INHERIT, Constant, Implemented
141    PTHREAD_PRIO_PROTECT, Constant, Implemented
142
143Change the Priority Ceiling of a Mutex
144--------------------------------------
145
146.. code:: c
147
148    pthread_mutex_setprioceiling(), Function, Implemented
149    pthread_mutex_getprioceiling(), Function, Implemented
150
151.. COMMENT: COPYRIGHT (c) 1988-2002.
152
153.. COMMENT: On-Line Applications Research Corporation (OAR).
154
155.. COMMENT: All rights reserved.
156
Note: See TracBrowser for help on using the repository browser.