Start of funding 01.07.2008

Featherweight Threads for TinyOS

Prof. Dr. Wolfgang Schröder-Preikschat
Friedrich-Alexander-University of Erlangen-Nuremberg
Department of Computer Science 4, Verteilte Systeme und Betriebssysteme

Kevin Klues
Stanford University
Department of Computer Science



The support for multi-threaded applications is becoming an increasingly important issue in the domain of operating systems for wireless sensor networks. Threading support helps to separate long-running operations into distinct computational entities while still being preemptable by time-critical data processing tasks. Therefore, general-purpose threading support has recently been integrated into the upcoming release of TinyOS 2.1. However, the types of resource-constrained systems typically found in the domain of sensor networks demand a more problem-specific solution.

The goal of this project is to investigate ways of merging the featherweight threading technology developed in the PURE/CiAO projects into this TinyOS threading model. The idea behind featherweight threads is to tailor the amount of state that has to be saved and restored on a per-thread basis rather than blindly saving and restoring all possible state. We expect this optimization to have a positive impact on RAM usage as well as energy consumption, both of which are among the most important concerns in sensor network operating systems of today.