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

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



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

No interrupts are not disable during the ISR. A ISR can be interrupted by another ISR. But not by the same ISR. Even on SMP, a specific ISR cannot be run multiple at the same time.
do ISR's also have priority associated with them???
i think b4 executing an ISR the kernel calls "preempt-disable"
(not very sure though....)???

yes it seems.



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