[ECOS] Will unlock_inner() be called twice during Real Time Clock Interrupt in ecos?

Nick Garnett nickg@ecoscentric.com
Tue Sep 24 16:36:00 GMT 2002


<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



More information about the Ecos-discuss mailing list