public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] CYGSEM_KERNEL_SCHED_TIMESLICE
@ 2001-09-03 16:16 John Gumb
  2001-09-07 14:49 ` Jonathan Larmour
  0 siblings, 1 reply; 2+ messages in thread
From: John Gumb @ 2001-09-03 16:16 UTC (permalink / raw)
  To: 'ecos-discuss@sourceware.cygnus.com'

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-09-07 14:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-03 16:16 [ECOS] CYGSEM_KERNEL_SCHED_TIMESLICE John Gumb
2001-09-07 14:49 ` Jonathan Larmour

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).