This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
how does the scheduler lock works when the DSR is interrupted by ext IRQ?
- From: "Qiang Huang" <jameshq at liverpool dot ac dot uk>
- To: "Ecos-Discuss" <ecos-discuss at sources dot redhat dot com>
- Date: Wed, 23 Oct 2002 09:48:39 +0100
- Subject: [ECOS] how does the scheduler lock works when the DSR is interrupted by ext IRQ?
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