Mercurial > ecos-v3_0-branch
comparison packages/kernel/current/cdl/scheduler.cdl @ 115:6ed91473a1cd ecos-sw-2000-08-21
Merge from eCos master repository on 2000-08-21-22:40:54-BST
| author | jlarmour |
|---|---|
| date | Fri, 25 Aug 2000 17:32:38 +0000 |
| parents | 6736c52df507 |
| children | 0ae0bc38e387 |
comparison
equal
deleted
inserted
replaced
| 114:5ad2b71d525e | 115:6ed91473a1cd |
|---|---|
| 120 calculated {"CYGNUM_KERNEL_SCHED_PRIORITIES"} | 120 calculated {"CYGNUM_KERNEL_SCHED_PRIORITIES"} |
| 121 description " | 121 description " |
| 122 This option automatically defines the size of bitmap | 122 This option automatically defines the size of bitmap |
| 123 used to track occupied priority levels." | 123 used to track occupied priority levels." |
| 124 } | 124 } |
| 125 } | 125 |
| 126 | 126 |
| 127 cdl_option CYGIMP_KERNEL_SCHED_SORTED_QUEUES { | |
| 128 display "Dequeue oldest threads first" | |
| 129 flavor bool | |
| 130 default_value 0 | |
| 131 description " | |
| 132 With this option enabled, threads queued in a thread queue | |
| 133 will be dequeued in priority order, rather than last in, | |
| 134 first out (LIFO). Threads of equal priority are dequeued | |
| 135 oldest first. The only exception is the scheduler run | |
| 136 queues where order is less important as each is already | |
| 137 sorted by priority. Note that this makes the thread queueing | |
| 138 less deterministic." | |
| 139 } | |
| 140 } | |
| 141 | |
| 142 # --------------------------------------------------------------------- | |
| 143 # Timeslice options | |
| 127 | 144 |
| 128 # NOTE: this option only makes sense for some of the schedulers. | 145 # NOTE: this option only makes sense for some of the schedulers. |
| 129 # Timeslicing is irrelevant for bitmap schedulers. | 146 # Timeslicing is irrelevant for bitmap schedulers. |
| 130 cdl_component CYGSEM_KERNEL_SCHED_TIMESLICE { | 147 cdl_component CYGSEM_KERNEL_SCHED_TIMESLICE { |
| 131 display "Scheduler timeslicing" | 148 display "Scheduler timeslicing" |
| 153 take place? The value of this option corresponds to the | 170 take place? The value of this option corresponds to the |
| 154 number of clock ticks that should occur before a timeslice | 171 number of clock ticks that should occur before a timeslice |
| 155 takes place, so increasing the value reduces the frequency | 172 takes place, so increasing the value reduces the frequency |
| 156 of timeslices." | 173 of timeslices." |
| 157 } | 174 } |
| 158 } | 175 |
| 176 cdl_option CYGSEM_KERNEL_SCHED_TIMESLICE_ENABLE { | |
| 177 display "Support runtime enable of timeslice per-thread" | |
| 178 flavor bool | |
| 179 default_value false | |
| 180 description "This option makes timslicing a per-thread runtime | |
| 181 option. When enabled, threads may have timeslicing | |
| 182 turned on or off dynamically. This is generally used | |
| 183 by higher level APIs (such as POSIX) to implement | |
| 184 differing scheduling policies." | |
| 185 | |
| 186 } | |
| 187 } | |
| 188 | |
| 189 # --------------------------------------------------------------------- | |
| 190 # ASR support options | |
| 191 | |
| 192 cdl_component CYGSEM_KERNEL_SCHED_ASR_SUPPORT { | |
| 193 display "Enable ASR support" | |
| 194 flavor bool | |
| 195 default_value false | |
| 196 description " | |
| 197 This component controls support for Asynchronous Service | |
| 198 Routines (ASRs). This is a function that may be called | |
| 199 from the scheduler when it has just exited the scheduler | |
| 200 lock. This is primarily for use by API compatibility layers." | |
| 201 | |
| 202 cdl_option CYGSEM_KERNEL_SCHED_ASR_GLOBAL { | |
| 203 display "Make ASR function global" | |
| 204 flavor bool | |
| 205 default_value true | |
| 206 description " | |
| 207 This option controls whether the ASR function is shared by | |
| 208 all threads, or whether each thread may have its own ASR | |
| 209 function." | |
| 210 } | |
| 211 | |
| 212 cdl_option CYGSEM_KERNEL_SCHED_ASR_DATA_GLOBAL { | |
| 213 display "Make ASR data global" | |
| 214 flavor bool | |
| 215 default_value true | |
| 216 description " | |
| 217 This option controls whether the ASR data is shared by | |
| 218 all threads, or whether each thread may have its own ASR | |
| 219 data. This is independent of the previous option because | |
| 220 it may be useful to pass per-thread data to a shared ASR | |
| 221 function." | |
| 222 } | |
| 223 } | |
| 224 |
