On 04/28/13 00:29, Rick Mann wrote:

Moreover, is per-thread PMIC state the right thing to do? It seems to me that 
interrupts are independent of threads, and so the state should be identical 
after each handler returns, regardless of whether or not a new thread is 
executing afterward, right?


I think the only difference between RET and RETI in this case is PMIC.

I don't think you need a per-thread PMIC state.

Tom Dean

_______________________________________________
AVR-chat mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/avr-chat

Reply via email to