[Tinyos-help] Program flow
Aditya Bhave
adityay.bhave at gmail.com
Tue Feb 13 19:20:54 PST 2007
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 <pal at cs.stanford.edu> 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
> Tinyos-help at Millennium.Berkeley.EDU
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
--
regards,
Aditya Bhave
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20070213/95235aea/attachment.htm
More information about the Tinyos-help
mailing list