Title :
Using Preemption in Event Driven Systems with a Single Stack
Author :
Walther, Karsten ; Karnapke, Reinhardt ; Sieber, Andre ; Nolte, Jörg
Author_Institution :
Distributes Syst./Oper. Syst. group, Brandenburg Univ. of Technol., Cottbus
Abstract :
Event driven programming is widely used in sensor networks because of the high resource efficiency and the ease of synchronization in such systems. Also, the application logic itself can often be expressed naturally with an event handling system. However, handling of long running tasks is a severe problem, because most systems imply non-preemptive run-to-completion semantics of tasks. Therefore, a long running task must be split in several parts to prevent it from blocking other ones. In this paper we present a preemptive stack sharing approach which preserves the benefits of event driven programming, while solving the long running task problem.
Keywords :
distributed sensors; event driven programming; event driven systems; event handling system; high resource efficiency; nonpreemptive run-to-completion semantics; preemptive stack sharing; sensor networks; single stack; Delay; Functional programming; Logic programming; Network operating systems; Operating systems; Programming profession; Runtime; Sensor systems; Sensor systems and applications; Yarn;
Conference_Titel :
Sensor Technologies and Applications, 2008. SENSORCOMM '08. Second International Conference on
Conference_Location :
Cap Esterel
Print_ISBN :
978-0-7695-3330-8
Electronic_ISBN :
978-0-7695-3330-8
DOI :
10.1109/SENSORCOMM.2008.61