[Tinyos-help] (yet another) Question about signal

Michael Schippling schip at santafe.edu
Thu Nov 15 13:48:54 PST 2007


ah, History...

So klueska...is there a good place in the new improved TOSwiki
to put your clear and concise description of interface contracts?

thanks
MS


Philip Levis wrote:
> 
> On Nov 15, 2007, at 12:18 PM, Michael Schippling wrote:
> 
>> Yes that makes a lost of sense, logically. It just seems odd, to me,
>> to have a bunch of redundant keywords cluttering up my code when the
>> intent is (almost?) always implicit in the usage...
>>
>> Now, if "signal" actually fired off code in a different interrupt-like
>> context...that would be both logical and reasonable.
> 
> Originally, when TinyOS was Perl scripts that munged some cpp macros, 
> there were two macros:
> 
> TOS_CALL_COMMAND()
> TOS_SIGNAL_EVENT()
> 
> They needed to be distinct because
> 
> TOS_COMMAND() and
> TOS_EVENT()
> 
> led to different names.
> 
> Phil


More information about the Tinyos-help mailing list