This is the mail archive of the ecos-discuss@sourceware.org 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]

AW: another context switch query..


> Von: ecos-discuss-owner@ecos.sourceware.org
> [mailto:ecos-discuss-owner@ecos.sourceware.org]Im Auftrag von saurabh
> prakash
> Gesendet: Mittwoch, 21. Juni 2006 09:15
> An: ecos-discuss@ecos.sourceware.org
> Betreff: [ECOS] another context switch query..
> 
> 
> I would like to know what happens when a (ruuning)thread has 
> locked the scheduler, and an interrupt occurs.
> 
> 1) Does the ISR and/or DSR run.
> 2) what would exactly be the sequence in this case.

The ISR will run immediately, the DSR will run as soon as the scheduler is unlocked.

Alex

--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


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