[ECOS] Replace eCos idle thread

Andrew Lunn andrew@lunn.ch
Fri Sep 12 10:55:00 GMT 2003


> > You could just increase the number of priority levels.
> >  CYGNUM_KERNEL_SCHED_PRIORITIES
> > 
> 
> Okay - just spotted 32 is the max allowed.

Yep, it uses a bitmap in a uint32.

It would take some effort, but you could change this to uint64 so
doubling the number of levels.

If you only ever have one thread per level, you could use the bitmap
scheduler. That is simpler and will take less work to use a uint64.

      Andrew

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss



More information about the Ecos-discuss mailing list