[ECOS] Re: Help: non pre-emptive kernel with priorities

Grant Edwards grante@visi.com
Fri Feb 25 04:42:00 GMT 2005


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



More information about the Ecos-discuss mailing list