Date Added: Dec 2011
Major operating systems for Wireless Sensor Networks (WSN) enforce an event-based programming paradigm for efficiency reasons. However, practice has shown that the resulting code complexity leads to problems during development, deployment, and operations. Although thread-based programming is known to solve these problems, the scarce resources of common WSN devices make it non-trivial to actually support it. As opposed to existing runtime-based thread libraries, the authors' goal is to explore the potential of compiler-assisted thread abstractions by introducing a comprehensive and platform-agnostic system of compiler and debugger which supports cooperative threads with minor restrictions.