1 | .. comment SPDX-License-Identifier: CC-BY-SA-4.0 |
---|
2 | |
---|
3 | Execution Scheduling |
---|
4 | #################### |
---|
5 | |
---|
6 | Scheduling Parameters |
---|
7 | ===================== |
---|
8 | |
---|
9 | .. code:: c |
---|
10 | |
---|
11 | struct sched_param, Type, Implemented |
---|
12 | |
---|
13 | Scheduling Policies |
---|
14 | =================== |
---|
15 | |
---|
16 | .. code:: c |
---|
17 | |
---|
18 | SCHED_FIFO, Constant, Implemented |
---|
19 | SCHED_RR, Constant, Implemented |
---|
20 | SCHED_OTHER, Constant, Implemented |
---|
21 | |
---|
22 | NOTE: RTEMS adds SCHED_SPORADIC. |
---|
23 | |
---|
24 | SCHED_FIFO |
---|
25 | ---------- |
---|
26 | |
---|
27 | SCHED_RR |
---|
28 | -------- |
---|
29 | |
---|
30 | SCHED_OTHER |
---|
31 | ----------- |
---|
32 | |
---|
33 | Process Scheduling Functions |
---|
34 | ============================ |
---|
35 | |
---|
36 | Set Scheduling Parameters |
---|
37 | ------------------------- |
---|
38 | |
---|
39 | .. code:: c |
---|
40 | |
---|
41 | sched_setparam(), Function, Dummy Implementation |
---|
42 | |
---|
43 | Get Scheduling Parameters |
---|
44 | ------------------------- |
---|
45 | |
---|
46 | .. code:: c |
---|
47 | |
---|
48 | sched_getparam(), Function, Dummy Implementation |
---|
49 | |
---|
50 | Set Scheduling Policy and Scheduling Parameters |
---|
51 | ----------------------------------------------- |
---|
52 | |
---|
53 | .. code:: c |
---|
54 | |
---|
55 | sched_setscheduler(), Function, Dummy Implementation |
---|
56 | |
---|
57 | Get Scheduling Policy |
---|
58 | --------------------- |
---|
59 | |
---|
60 | .. code:: c |
---|
61 | |
---|
62 | sched_getscheduler(), Function, Dummy Implementation |
---|
63 | |
---|
64 | Yield Processor |
---|
65 | --------------- |
---|
66 | |
---|
67 | .. code:: c |
---|
68 | |
---|
69 | sched_yield(), Function, Implemented |
---|
70 | |
---|
71 | Get 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 | |
---|
80 | Thread Scheduling |
---|
81 | ================= |
---|
82 | |
---|
83 | Thread Scheduling Attributes |
---|
84 | ---------------------------- |
---|
85 | |
---|
86 | .. code:: c |
---|
87 | |
---|
88 | PTHREAD_SCOPE_PROCESS, Constant, Implemented |
---|
89 | PTHREAD_SCOPE_SYSTEM, Constant, Implemented |
---|
90 | |
---|
91 | Scheduling Contention Scope |
---|
92 | --------------------------- |
---|
93 | |
---|
94 | Scheduling Allocation Domain |
---|
95 | ---------------------------- |
---|
96 | |
---|
97 | Scheduling Documentation |
---|
98 | ------------------------ |
---|
99 | |
---|
100 | Thread Scheduling Functions |
---|
101 | =========================== |
---|
102 | |
---|
103 | Thread 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 | |
---|
119 | Dynamic Thread Scheduling Parameters Access |
---|
120 | ------------------------------------------- |
---|
121 | |
---|
122 | .. code:: c |
---|
123 | |
---|
124 | pthread_setschedparam(), Function, Implemented |
---|
125 | pthread_getschedparam(), Function, Implemented |
---|
126 | |
---|
127 | Synchronization Scheduling |
---|
128 | ========================== |
---|
129 | |
---|
130 | Mutex 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 | |
---|
143 | Change 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 | |
---|