[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sharing data (can ISR be pre-empted???)



speaking from purely 2.4's perspective i don't think an ISR can be interrupted
by another ISR because interrupts are disabled while processing an ISR.


and i think ISR's don't have a priority assoicated with them, rather INTERRUPTS have
a priority (ISR is a software thing!).


-mandeep

From: amith <amith@xxxxxxxxxxxxxxx>
To: mandeep sandhu <msandhu_d@xxxxxxxxxxx>
CC: KERNEL <kernelnewbies@xxxxxxxxxxxx>
Subject: Re: sharing data (can ISR be pre-empted???)
Date: Fri, 04 Jun 2004 14:55:29 +0530

mandeep sandhu wrote:

can another ISR preempt the current executing ISR!
during execution of ISR's are'nt the interrupts disabled?

do ISR's also have priority associated with them???

i think b4 executing an ISR the kernel calls "preempt-disable"
(not very sure though....)???

- /dev/mandeep


i have read that an ISR can be interrupted by a higer priority ISR, i know it in theory , someone could illustrate with an example ? and please do correct me if i am wrong ?

regards, Amith




_________________________________________________________________
The new MSN toolbar! As convenient as it gets! http://toolbar.msn.co.in/ Click here to download now!



-- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/