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: Will unlock_inner() be called twice during Real Time Clock Interrupt in ecos?


<jameshq@liverpool.ac.uk> writes:

> Thanks you very much for pointing out my mistake.
> Are the followings correct (after correcting my mistake)?
> Thanks
> 
> Q1. 
> Does that mean: In the Real Time Clock tick interrupt ,The
> unlock_inner() will **not** run in
> Cyg_RealTimeClock::dsr()-->tick()-->unlock(). unlock_inner() will just
> **only** called before calling to the Cyg_RealTimeClock::dsr(), and
> when return from the Cyg_RealTimeClock::dsr() thread context switching
> will happens on the old thread's stack.

Exactly.

> 
> 
> Q2. 
> Does all DSR() run on the interrupt stack if a serperate interrupt
> stack is in used?
>

Yes.



-- 
Nick Garnett - eCos Kernel Architect
http://www.eCosCentric.com/


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