DocumentCode
2790284
Title
Using Coroutines for RPC in Sensor Networks
Author
Cohen, Marcelo ; Ponte, Thiago ; Rossetto, Silvana ; Rodriguez, Noemi
Author_Institution
Departamento de Informatica, PUC-Rio, Rio de Janeiro
fYear
2007
fDate
26-30 March 2007
Firstpage
1
Lastpage
8
Abstract
This paper proposes a concurrency model which integrates the asynchronous and event-driven nature of wireless sensor networks with higher-level abstractions that provide a more familiar programming style for the developer. As a basis for this proposal, we designed and implemented a cooperative multitasking scheduler, based on coroutines, for the TinyOS operating system. We then used this scheduler to implement RPC-like interfaces that capture different communication patterns common in wireless sensor networks. This allows the programmer to work, when appropriate, with a synchronous style, while maintaining an asynchronous model at the message exchange level.
Keywords
concurrency control; network operating systems; remote procedure calls; scheduling; wireless sensor networks; RPC coroutine; RPC-like interface; TinyOS operating system; concurrency model; cooperative multitasking scheduler; event-driven wireless sensor network; Computer languages; Concurrent computing; Embedded system; Multitasking; Operating systems; Programming profession; Proposals; Sensor phenomena and characterization; Testing; Wireless sensor networks;
fLanguage
English
Publisher
ieee
Conference_Titel
Parallel and Distributed Processing Symposium, 2007. IPDPS 2007. IEEE International
Conference_Location
Long Beach, CA
Print_ISBN
1-4244-0910-1
Electronic_ISBN
1-4244-0910-1
Type
conf
DOI
10.1109/IPDPS.2007.370458
Filename
4228186
Link To Document