comparison packages/kernel/current/cdl/scheduler.cdl @ 132:0ae0bc38e387 ecos-sw-2000-10-31

Merge from eCos master repository on 2000-10-31-00:30:36-GMT
author jlarmour
date Tue, 31 Oct 2000 20:53:09 +0000
parents 6ed91473a1cd
children 4c750ce71ae3
comparison
equal deleted inserted replaced
131:8461114e4f19 132:0ae0bc38e387
44 display "Number of schedulers in this configuration" 44 display "Number of schedulers in this configuration"
45 no_define 45 no_define
46 requires 1 == CYGINT_KERNEL_SCHEDULER 46 requires 1 == CYGINT_KERNEL_SCHEDULER
47 } 47 }
48 48
49 cdl_interface CYGINT_KERNEL_SCHEDULER_UNIQUE_PRIORITIES {
50 display "Non-zero if the active schedule only has unique priorities"
51 description "
52 Not all schedulers allow mutiple threads to use the same
53 priority. That property is signalled via this option, allowing
54 scheduler and tests to behave accordingly."
55 }
56
49 # FIXME: The two below options must be mutually exclusive 57 # FIXME: The two below options must be mutually exclusive
50 cdl_option CYGSEM_KERNEL_SCHED_MLQUEUE { 58 cdl_option CYGSEM_KERNEL_SCHED_MLQUEUE {
51 display "Multi-level queue scheduler" 59 display "Multi-level queue scheduler"
52 default_value 1 60 default_value 1
53 implements CYGINT_KERNEL_SCHEDULER 61 implements CYGINT_KERNEL_SCHEDULER
61 69
62 cdl_option CYGSEM_KERNEL_SCHED_BITMAP { 70 cdl_option CYGSEM_KERNEL_SCHED_BITMAP {
63 display "Bitmap scheduler" 71 display "Bitmap scheduler"
64 default_value 0 72 default_value 0
65 implements CYGINT_KERNEL_SCHEDULER 73 implements CYGINT_KERNEL_SCHEDULER
74 implements CYGINT_KERNEL_SCHEDULER_UNIQUE_PRIORITIES
66 description " 75 description "
67 The bitmap scheduler supports multiple priority levels but 76 The bitmap scheduler supports multiple priority levels but
68 only one thread can exist at each priority level. This means 77 only one thread can exist at each priority level. This means
69 that scheduling decisions are very simple and hence the 78 that scheduling decisions are very simple and hence the
70 scheduler is efficient. Preemption between priority levels is 79 scheduler is efficient. Preemption between priority levels is