This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Help: non pre-emptive kernel with priorities
- From: "Zhao Luo" <ZhaoL at TCTechnologies dot tc>
- To: <ecos-discuss at ecos dot sourceware dot org>
- Date: Thu, 24 Feb 2005 17:48:51 +0100
- Subject: [ECOS] Help: non pre-emptive kernel with priorities
Hi, All,
I want to use a non-preemptive kernel with priorities. That is, during a
thread's running, even when a higher priority thread gets ready, the
higher priority thread still needs to wait until the current thread
yield/block. Is this possible with eCos? I read the reference manual; it
says the higher priority thread can AUTOMATICALLY preempt the low
priority threads.
So my question is:
1. Is there anything I can configure/hack in MLQ to change this
behavior? Is there such a patch somewhere?
2. Is there any other scheduler available for doing thing like that?
Thanks a lot.
Zhao
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss