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: Help: non pre-emptive kernel with priorities


I'm pretty sure you can turn off pre-emptive in the ecos config tool.
Just turn off tick box "Scheduler timeslicing"


-----Original Message-----
From: ecos-discuss-owner@ecos.sourceware.org
[mailto:ecos-discuss-owner@ecos.sourceware.org] On Behalf Of Zhao Luo
Sent: Friday, February 25, 2005 12:49 AM
To: ecos-discuss@ecos.sourceware.org
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



--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


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