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: scheduler lock bypassed ??


On Wed, 2002-02-27 at 12:57, Stijn Symons wrote:
> Hi,
> 
> a short question:
> 
> will a higher priority thread respect a scheduler_lock placed by a lower
> priority thread or will the higher priority thread run?
> 
> I ask this because it seems that a thread of priority 4 wakes up during
> a scheduler_lock placed by a thread of priority 5. Is this possible or
> is my testing wrong?

It should not be possible. When the scheduler is locked, the thread
taking the lock will keep running forever until it releases the lock
again. You will see execution of ISRs and DSRs though.

Jesper
 

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


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