public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: John Gumb <john@talisker.demon.co.uk>
To: "'ecos-discuss@sourceware.cygnus.com'"
	<ecos-discuss@sourceware.cygnus.com>
Subject: [ECOS] CYGSEM_KERNEL_SCHED_TIMESLICE
Date: Mon, 03 Sep 2001 16:16:00 -0000	[thread overview]
Message-ID: <01C134D6.15DC0130@bream.tr.localnet> (raw)

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

             reply	other threads:[~2001-09-03 16:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-03 16:16 John Gumb [this message]
2001-09-07 14:49 ` Jonathan Larmour

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=01C134D6.15DC0130@bream.tr.localnet \
    --to=john@talisker.demon.co.uk \
    --cc=ecos-discuss@sourceware.cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).