This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: why should ISR arrange that the same interrupt would not recur until DSR completed?


On 31.03.2013 10:10, Randy wrote:

> But why? If other interrupt could be enable when processing DSR, why
> is the same interrupt not allowed?

1) Other interrupt does not need to synchronize access to the hardware
and/or data structures shared between the ISR and corresponding DSR.
Remember, neither the ISR nor DSR can block. Disabling interrupts
outside of interrupt handlers is generally frowned upon.

2) The list of pending DSRs is now upper bounded. With the same
interrupt enabled it would become unbounded.

Regards
-- 
                                       Stano


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]