i think i stand corrected, as someone pointed out an ISR for a high priority interrupt
can preempt an ISR for a low priority one....
- mandeep
-----Original Message----- From: kernelnewbies-bounce@nl.linux.org [mailto:kernelnewbies-bounce@nl.linux.org]On Behalf Of mandeep sandhu Sent: Friday, June 04, 2004 3:28 PM To: amith@multitech.co.in Cc: kernelnewbies@nl.linux.org Subject: 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@multitech.co.in> To: mandeep sandhu <msandhu_d@hotmail.com> CC: KERNEL <kernelnewbies@nl.linux.org> 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/
_________________________________________________________________
Get ready to dream with Citibank Ready Cash. http://go.msnserver.com/IN/49355.asp The Next Generation Personal Loan!
-- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/