This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Help: non pre-emptive kernel with priorities
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Zhao Luo <ZhaoL at TCTechnologies dot tc>
- Cc: Andrew Lunn <andrew at lunn dot ch>, ecos-discuss at ecos dot sourceware dot org
- Date: Tue, 1 Mar 2005 16:22:37 +0100
- Subject: Re: [ECOS] Help: non pre-emptive kernel with priorities
- References: <EFDE197A0B482D4E806DBC2B4E47C1D60198C39B@ex001tcg.tcgroup.tc>
On Tue, Mar 01, 2005 at 04:17:11PM +0100, Zhao Luo wrote:
> Thanks Andrew, I will test it out and see how it is going on. So I
> assume there is not priority boost in the MLQ scheduler, either?
Do you mean priority inversion of mutex's? Yes, the MLQ has that. I
think my change will do what you want, ie the process will not yield
when you release the mutex and the old lower priority is reinstalled,
but i could be wrong. I did not study the code in too much depth.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss