> First, split-phase calls do not tie up stack memory while they are
> executing.

This is perhaps poorly worded... of course stack memory is tied up while 
the code is executing.  However, split phase code does not tie up stack 
memory in between phases.  In other wirds, the call stack for phase 1 is 
totally gone after phase 1 finishes, and then later some stack is used by 
phase 2.

The point here is that there is just one stack in a TinyOS-based system, 
so all execution is LIFO.  This execution model has both advantages and 
disadvantages.

John Regehr
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to