[Tinyos-devel] [Tinyos Core WG] TOSThreads TEP
Philip Levis
pal at cs.stanford.edu
Tue May 20 16:13:46 PDT 2008
On May 20, 2008, at 4:09 PM, Vlado Handziski wrote:
>
> I am not concerned about the binary code only. Leaving out code with
> #ifdefs is not what I consider "completely optional". Apart from
> being ugly, just having the threading code in the default components
> is enough to completely confuse the users about what TinyOS really
> is and how they should develop their applications.
There's always been a tension between #ifdef and component shadowing,
and there's a tradeoff. I mean, the interrupt handler could call a C
function, which is defined one way for each approach (null or epilogue).
Phil
More information about the Tinyos-devel
mailing list