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]

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


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