Hello, SO suppose both of my init's and start's do some variable setting and return SUCCESS. What code gets exceuted next?
In my application, my mote does something only when it receives the first packet over the radio. SO my start and init just set some state variables and then I wait for ReceiveMsg.receive to be called. While my mote is waiting, what code gets exceuted on the processor. Is there some system idle process that gets executed and if so, where and what is the name of the corresponding component? Thanks for your help On 2/13/07, Philip Levis <[EMAIL PROTECTED]> wrote:
On Feb 13, 2007, at 1:01 PM, Ankur Kamthe wrote: > Read this http://www.tinyos.net/tinyos-2.x/doc/html/tep107.html for > more details > But from what I gather, its initialization first then the start > routines are called sequentially. > So, its init, init, start, start TEP 107 is about TinyOS 2.x, not 1.x. But your conclusion is correct. A fan-out does not make calls in parallel (it can't, given there is a single thread of execution); it calls each one in an unspecified order. Phil _______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
-- regards, Aditya Bhave
_______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
