This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
AW: another context switch query..
- From: "Neundorf, Alexander" <Alexander dot Neundorf at jenoptik dot com>
- To: "saurabh prakash" <saurabhp75 at gmail dot com>, <ecos-discuss at ecos dot sourceware dot org>
- Date: Wed, 21 Jun 2006 09:20:25 +0200
- Subject: AW: [ECOS] 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