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