This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Round robin scheduler question
> #ifdef CYGPKG_KERNEL_SMP_SUPPORT
> ....
> #else
> register cyg_uint32 index;
> --- add these ---
> if (timeover != 1)
> { (&sched->run_queue[(get_current_thread()->priority)] ) -> rotate(); }
Please add "Cyg_Scheduler *sched = &Cyg_Scheduler::scheduler;" b/w "{" and
"(&sched..." .
Thanks Andrew for your post to help me observe this slip.
> --------------------------
> HAL_LSBIT_INDEX(index,queue_map);
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.511 / Virus Database: 308 - Release Date: 8/19/2003
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss