DocumentCode :
2725775
Title :
Stackless preemptive multi-threading for TinyOS
Author :
McCartney, William P. ; Sridhar, Nigamanth
Author_Institution :
Electr. & Comput. Eng., Cleveland State Univ., Cleveland, OH, USA
fYear :
2011
fDate :
27-29 June 2011
Firstpage :
1
Lastpage :
8
Abstract :
Programming support for multi-threaded applications on embedded microcontroller platforms has attracted a considerable amount of research attention in the recent years. This paper is focused on this problem, and presents UnStacked C, a source-to-source transformation that can translate multithreaded programs into stackless continuations. The transformation can support legacy code by not requiring any changes to application code, and only modifications to the underlying threading library. We describe the details of UnStacked C in the context of the TinyOS operating system for wireless sensor network applications. We present a modified implementation of the TOSThreads library for TinyOS, and show how existing applications programmed using TOSThreads can be automatically transformed to use stackless threads with only modifications in the build process. By eliminating the need to allocate individual thread stacks and by supporting lazy thread preemption, UnStacked C enables a considerable saving of memory used and power consumed, respectively.
Keywords :
embedded systems; microcontrollers; multi-threading; operating systems (computers); software maintenance; telecommunication computing; wireless sensor networks; TOSThreads; TinyOS; UnStacked C; embedded microcontroller platforms; legacy code; source-to-source transformation; stackless preemptive multithreading; wireless sensor network applications; Context; Instruction sets; Libraries; Programming; Random access memory; Transforms; Wireless sensor networks;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Distributed Computing in Sensor Systems and Workshops (DCOSS), 2011 International Conference on
Conference_Location :
Barcelona
Print_ISBN :
978-1-4577-0512-0
Electronic_ISBN :
978-1-4577-0511-3
Type :
conf
DOI :
10.1109/DCOSS.2011.5982136
Filename :
5982136
Link To Document :
بازگشت