[ECOS] how does the scheduler lock works when the DSR is interrupted by ext IRQ?
Qiang Huang
jameshq@liverpool.ac.uk
Wed Oct 23 01:48:00 GMT 2002
Hi all:
I can't understand how the **scheduler lock** works when DSR interrupted
by ext IRQ and resumes execution?
assert ext_IRQ1--> run ISR1( ) --> finish ISR1( ) --> interrupt_end() -->
post DSR --> unlock scheduler --> run DSR1( ) --> assert ext_IRQ2 --> run
ISR2( ) --> finish ISR2( ) --> interrupt_end() --> post DSR --> how does the
scheduler lock works to ensure the DSR2( ) is not run here and only runs
after DSR1( ) finished?
BTW Is there anywhere I can find some *more detail* about the kernel
handling mechanism?(any docs?)
Thanks a lot.
--
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