[ECOS]net threads priority

Robin Farine acnrf@dial.eunet.ch
Tue Jan 15 07:49:00 GMT 2002


On Tue, 2002-01-15 at 15:41, Jonathan Larmour wrote:
> Robin Farine wrote:
> > 
> > On Mon, 2002-01-14 at 16:57, Andrew Lunn wrote:
> > >
> > > By default, the schedular has 32 levels. I expect priority 99 is
> > > causing it a problem. Do you asserts enabled? I guess not or you would
> > > of seen this problem. I suggest you enable them. Look in the infra
> > > package.
> > 
> > IIRC, this won't help since the mlqueue implementation doesn't ensure
> > that it gets a correct priority value.
> 
> 
> mlqueue.cxx:215:
>     CYG_ASSERT((CYG_THREAD_MIN_PRIORITY >= pri) 
>                && (CYG_THREAD_MAX_PRIORITY <= pri),
>                "Priority out of range!");
> 

Ooops, I didn't recall correctly then :-/ ... a few months ago however,
I experienced crashes due to an invalid priority, I was probably using
the bitmap scheduler or the POSIX compat layer ... or I simply got an
assertion failure after all ;-) 

> ?
> 
> Jifl

Robin



More information about the Ecos-discuss mailing list