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: net threads priority


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


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