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