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


On Fri, Feb 25, 2005 at 11:51:15AM +0800, Damian Slee wrote:

>> 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.
>
> I'm pretty sure you can turn off pre-emptive in the ecos
> config tool. Just turn off tick box "Scheduler timeslicing"

That doesn't disable pre-emption by higher priority tasks.  It
dislable timeslicing of same-priority tasks.

I'm not sure if it's possible to keep the scheulder
permantently "locked" so that it only gets called when a task
explicitly yeilds or not.

-- 
Grant Edwards
grante@visi.com

-- 
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]