1 | @c |
---|
2 | @c COPYRIGHT (c) 1988-1999. |
---|
3 | @c On-Line Applications Research Corporation (OAR). |
---|
4 | @c All rights reserved. |
---|
5 | @c |
---|
6 | @c $Id$ |
---|
7 | @c |
---|
8 | |
---|
9 | @chapter Execution Scheduling |
---|
10 | |
---|
11 | @section Scheduling Parameters |
---|
12 | |
---|
13 | @example |
---|
14 | struct sched_param, Type, Implemented |
---|
15 | @end example |
---|
16 | |
---|
17 | @section Scheduling Policies |
---|
18 | |
---|
19 | @example |
---|
20 | SCHED_FIFO, Constant, Implemented |
---|
21 | SCHED_RR, Constant, Implemented |
---|
22 | SCHED_OTHER, Constant, Implemented |
---|
23 | @end example |
---|
24 | |
---|
25 | NOTE: RTEMS adds SCHED_SPORADIC. |
---|
26 | |
---|
27 | @subsection SCHED_FIFO |
---|
28 | |
---|
29 | @subsection SCHED_RR |
---|
30 | |
---|
31 | @subsection SCHED_OTHER |
---|
32 | |
---|
33 | @section Process Scheduling Functions |
---|
34 | |
---|
35 | @subsection Set Scheduling Parameters |
---|
36 | |
---|
37 | @example |
---|
38 | sched_setparam(), Function, Dummy Implementation |
---|
39 | @end example |
---|
40 | |
---|
41 | @subsection Get Scheduling Parameters |
---|
42 | |
---|
43 | @example |
---|
44 | sched_getparam(), Function, Dummy Implementation |
---|
45 | @end example |
---|
46 | |
---|
47 | @subsection Set Scheduling Policy and Scheduling Parameters |
---|
48 | |
---|
49 | @example |
---|
50 | sched_setscheduler(), Function, Dummy Implementation |
---|
51 | @end example |
---|
52 | |
---|
53 | @subsection Get Scheduling Policy |
---|
54 | |
---|
55 | @example |
---|
56 | sched_getscheduler(), Function, Dummy Implementation |
---|
57 | @end example |
---|
58 | |
---|
59 | @subsection Yield Processor |
---|
60 | |
---|
61 | @example |
---|
62 | sched_yield(), Function, Implemented |
---|
63 | @end example |
---|
64 | |
---|
65 | @subsection Get Scheduling Parameter Limits |
---|
66 | |
---|
67 | @example |
---|
68 | sched_get_priority_max(), Function, Implemented |
---|
69 | sched_get_priority_min(), Function, Implemented |
---|
70 | sched_get_priority_rr_get_interval(), Function, Implemented |
---|
71 | @end example |
---|
72 | |
---|
73 | @section Thread Scheduling |
---|
74 | |
---|
75 | @subsection Thread Scheduling Attributes |
---|
76 | |
---|
77 | @example |
---|
78 | PTHREAD_SCOPE_PROCESS, Constant, Implemented |
---|
79 | PTHREAD_SCOPE_SYSTEM, Constant, Implemented |
---|
80 | @end example |
---|
81 | |
---|
82 | @subsection Scheduling Contention Scope |
---|
83 | |
---|
84 | @subsection Scheduling Allocation Domain |
---|
85 | |
---|
86 | @subsection Scheduling Documentation |
---|
87 | |
---|
88 | @section Thread Scheduling Functions |
---|
89 | |
---|
90 | @subsection Thread Creation Scheduling Attributes |
---|
91 | |
---|
92 | @example |
---|
93 | pthread_attr_setscope(), Function, Implemented |
---|
94 | pthread_attr_getscope(), Function, Implemented |
---|
95 | pthread_attr_setinheritsched(), Function, Implemented |
---|
96 | pthread_attr_getinheritsched(), Function, Implemented |
---|
97 | pthread_attr_setschedpolicy(), Function, Implemented |
---|
98 | pthread_attr_getschedpolicy(), Function, Implemented |
---|
99 | pthread_attr_setschedparam(), Function, Implemented |
---|
100 | pthread_attr_getschedparam(), Function, Implemented |
---|
101 | PTHREAD_INHERIT_SCHED, Constant, Implemented |
---|
102 | PTHREAD_EXPLICIT_SCHED, Constant, Implemented |
---|
103 | @end example |
---|
104 | |
---|
105 | @subsection Dynamic Thread Scheduling Parameters Access |
---|
106 | |
---|
107 | @example |
---|
108 | pthread_setschedparam(), Function, Implemented |
---|
109 | pthread_getschedparam(), Function, Implemented |
---|
110 | @end example |
---|
111 | |
---|
112 | @section Synchronization Scheduling |
---|
113 | |
---|
114 | @subsection Mutex Initialization Scheduling Attributes |
---|
115 | |
---|
116 | @example |
---|
117 | pthread_mutexattr_setprotocol(), Function, Implemented |
---|
118 | pthread_mutexattr_getprotocol(), Function, Implemented |
---|
119 | pthread_mutexattr_setprioceiling(), Function, Implemented |
---|
120 | pthread_mutexattr_getprioceiling(), Function, Implemented |
---|
121 | PTHREAD_PRIO_NONE, Constant, Implemented |
---|
122 | PTHREAD_PRIO_INHERIT, Constant, Implemented |
---|
123 | PTHREAD_PRIO_PROTECT, Constant, Implemented |
---|
124 | @end example |
---|
125 | |
---|
126 | @subsection Change the Priority Ceiling of a Mutex |
---|
127 | |
---|
128 | @example |
---|
129 | pthread_mutex_setprioceiling(), Function, Implemented |
---|
130 | pthread_mutex_getprioceiling(), Function, Implemented |
---|
131 | @end example |
---|
132 | |
---|