[Tinyos-help] __attribute__ ((C, spontaneous))

Adam shiyuan69 at gmail.com
Wed Jul 5 11:24:00 PDT 2006


I notice GenericComm has this following function:

TOS_MsgPtr handleReceived(TOS_MsgPtr packet)  __attribute__ ((C,
spontaneous))

I am curious that what's the difference if we use __attribute__ ((C,
spontaneous)) or not to define an global function? I have written several
global function without using the _attribute, it seems working fine so far.

Thanks.



More information about the Tinyos-help mailing list