[Tinyos-devel] Nested interrupts
John Regehr
regehr at cs.utah.edu
Mon Aug 13 09:26:27 PDT 2007
> That's easy ;-) Temporary overcommitting of the "CPU cycles" resource.
Ya, the best example of this that I know of is in the AvrX RTOS which
tries very hard to avoid missing timer ticks, since clock skew sucks. So
it lets the timer interrupt reenter, then carefully unwinds it,
incrementing the tick count for each invocation of the handler.
> In both cases, you do have to be extremely careful in your interrupt
> handler ;-)
An understatement...
John
More information about the Tinyos-devel
mailing list