[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: sharing data (can ISR be pre-empted???) correction!
hi list,
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@xxxxxxxxxxxx
[mailto:kernelnewbies-bounce@xxxxxxxxxxxx]On Behalf Of mandeep sandhu
Sent: Friday, June 04, 2004 3:28 PM
To: amith@xxxxxxxxxxxxxxx
Cc: kernelnewbies@xxxxxxxxxxxx
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@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/
_________________________________________________________________
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/