[Tinyos Core WG] TOSThreads TEP
Miklos Maroti
mmaroti at math.u-szeged.hu
Tue May 20 16:15:00 PDT 2008
> Of course, function pointers wouldn't be necessary if we
> supported only Static threads (using terminology borrowed from the
> TEP), to allow flexibility in the definition and use of dynamic
> threads, function pointers are necessary.
To be frank, I would not allow dynamic threads at all because of the
following simple reasons:
- Why would threads be any different from memory allocation, we have
static memory allocation, static composition, etc.
- You cannot do whole application analysis (included WC stack usage)
if you have dynamic threads.
- Janos Sallai has a tool (documented in his thesis) that can compile
away static threads into normal tinyos event driven code. Keeping the
threads static allows other people to implement threading in a
completely different way: competition is good (TM).
Miklos
More information about the Tinyos-2.0wg
mailing list