This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Replace eCos idle thread


> > 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]