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