From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Gumb To: "'ecos-discuss@sourceware.cygnus.com'" Subject: [ECOS] CYGSEM_KERNEL_SCHED_TIMESLICE Date: Mon, 03 Sep 2001 16:16:00 -0000 Message-id: <01C134D6.15DC0130@bream.tr.localnet> X-SW-Source: 2001-09/msg00024.html 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