DocumentCode :
2590999
Title :
galsC: a language for event-driven embedded systems
Author :
Cheong, Elaine ; Liu, Jie
Author_Institution :
Dept. of Electr. Eng. & Comput. Sci., California Univ., USA
fYear :
2005
fDate :
7-11 March 2005
Firstpage :
1050
Abstract :
We introduce galsC, a language designed for programming event-driven embedded systems such as sensor networks. galsC implements the TinyGALS (globally asynchronous and locally synchronous) programming model. At the local level, software components are linked via synchronous method calls to form actors. At the global level, actors communicate with each other asynchronously via message passing, which separates the flow of control between actors. A complementary model, called TinyGUYS, is a guarded yet synchronous model designed to allow thread-safe sharing of global state between actors via parameters without explicitly passing messages. The galsC compiler extends the nesC compiler, which allows for better type checking and code generation. Having a well-structured concurrency model at the application level greatly reduces the risk of concurrency errors, such as deadlock and race conditions. The galsC language is implemented on the Berkeley motes and is compatible with the TinyOS/nesC component library. We use a multi-hop wireless sensor network as an example to illustrate the effectiveness of the language.
Keywords :
embedded systems; high level languages; message passing; program compilers; software tools; TinyGALS programming model; TinyGUYS; actors; code generation; component library; concurrency errors; deadlock; event-driven embedded systems; globally asynchronous and locally synchronous programming model; message passing; motes; multi-hop wireless sensor networks; programming language; race conditions; synchronous method calls; type checking; Application software; Computer languages; Concurrent computing; Embedded software; Embedded system; Hardware; Message passing; Operating systems; Sensor systems; Writing;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Design, Automation and Test in Europe, 2005. Proceedings
ISSN :
1530-1591
Print_ISBN :
0-7695-2288-2
Type :
conf
DOI :
10.1109/DATE.2005.165
Filename :
1395729
Link To Document :
بازگشت