hi all,
PROBLEM:
i need to learn hot to use DynamicThreads.
WHY:
I need them because i don't know a priori the number of required theads that i
will need at runtime .
QUESTIONS:
1) the unique documentation that i can found at, it's the TEP134 (
http://www.tinyos.net/tinyos-2.x/doc/html/tep134.html ), but isn't an
application developer guide at all and the comment in the
TOS_ROOT/tos/lib/tosthread source files! There is something else?
2)the tep talk about dynamic thread example app in the apps dir, but there
aren't here (neither in the apps/tosthread/apps dir!). I can found only few
example of static thread in these folders. there is something else?
3) when from a thread i call another sync function, i mustn't care about its
internal variables for concurrency, but only care about external var. right? i
must to set a mutex for every variable that i access from inside a thread if
this var can be read by more than one thread at any moment?
AMBIENT:
i work with the sources from 2.x CVS tree (so i guess it's the most recent
version!) on a (k)ubuntu hardy (base packets installed from repositories).
thanks!
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help