[ECOS] CYGSEM_KERNEL_SCHED_TIMESLICE

John Gumb john@talisker.demon.co.uk
Mon Sep 3 16:16:00 GMT 2001


Hi,

I tried turning off timeslicing (setting CYGSEM_KERNEL_SCHED_TIMESLICE to 0 in ecos.ecc) in a recent CVS tree. File ecos/packages/kernel/current/src/sched/mlqueue.cxx then doesn't compile as follows:

/d/home/jag/ecos/packages/kernel/current/src/sched/mlqueue.cxx: In method `Cyg_S
cheduler_Implementation::Cyg_Scheduler_Implementation()':
/d/home/jag/ecos/packages/kernel/current/src/sched/mlqueue.cxx:109: `timeslice_c
ount' undeclared (first use this function)
/d/home/jag/ecos/packages/kernel/current/src/sched/mlqueue.cxx:109: (Each undecl
ared identifier is reported only once
/d/home/jag/ecos/packages/kernel/current/src/sched/mlqueue.cxx:109: for each fun
ction it appears in.)
/d/home/jag/ecos/packages/kernel/current/src/sched/mlqueue.cxx:109: `CYGNUM_KERN
EL_SCHED_TIMESLICE_TICKS' undeclared (first use this function)
make[1]: *** [src/sched/mlqueue.o.d] Error 1
make[1]: Leaving directory `/d/home/jag/work/pc/kernel/current'
make: *** [build] Error 2

Enclosing the errant code within #ifdef CYGSEM_KERNEL_SCHED_TIMESLICE seems to at least produce a build though I've not had chance to test it thoroughly yet.

Cheers,

John Gumb
Ridgeway Systems and Software
jgumb@ridgeway-sys.com; john@gumb.org



More information about the Ecos-discuss mailing list