>There is written that at any time at most one task may be using the >stack. What about case, when one task calls another task/subtask? >Where is this new task stored?
Tasks are not function calls. Tasks can be thought of as deferred fuction calls and can only be posted. The posted tasks execute when the TinyOS scheduler schedules them. So, only one task may be using the stack at a time. >And is there any detailed description about "data and BSS regions" of >TinyOS stack? Or some example. Both Data and BSS regions typically contain component variables and static variables in nesC.The only difference is BSS has the uninitialized variables. Vinai On Mon, Dec 14, 2009 at 11:25 AM, paul.m <[email protected]> wrote: > Hello > > I would like to ask you. > I have found page about Stack Analysis on Wiki: > http://docs.tinyos.net/index.php/Stack_Analysis > > I am interested in the part Memory Models. But I do not know some things. > There is written that at any time at most one task may be using the > stack. What about case, when one task calls another task/subtask? > Where is this new task stored? > > And is there any detailed description about "data and BSS regions" of > TinyOS stack? Or some example. > > Could you, please, give me any other information about these things? > Some link on webpage/document? > > Thank you a lot > > Paul M. > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help >
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
