Safe system-level concurrency on resource-constrained nodes
Abstract
Despite the continuous research to facilitate WSNs development, most safety analysis and mitigation efforts in concurrency are still left to developers, who must manage synchronization and shared memory explicitly. In this paper, we present a system language that ensures safe concurrency by handling threats at compile time, rather than at runtime. Based on the synchronous programming model, our design allows for a simple reasoning about concurrency that enables compile-time analysis resulting in deterministic and memory-safe programs. As a trade-off, our design imposes limitations on the language expressiveness, such as doing computationally-intensive operations and meeting hard real-time responsiveness. To show that the achieved expressiveness and responsiveness is sufficient for a wide range of WSN applications, we implement widespread network protocols and the CC2420 radio driver. The implementations show a reduction in source code size, with a penalty of memory increase below 10% in comparison to nesC. Overall, we ensure safety properties for programs relying on high-level control abstractions that also lead to concise and readable code.
BibTeX
@inproceedings{santanna2013safe,
author = {Francisco Sant'Anna and Noemi de La Rocque Rodriguez and Roberto Ierusalimschy and Olaf Landsiedel and Philippas Tsigas},
title = {{Safe system-level concurrency on resource-constrained nodes}},
booktitle = {SenSys},
year = {2013},
doi = {10.1145/2517351.2517360},
}Ask Althea to put this paper to the test.
| Building Verifiable Sensing Applications Through Temporal Logic Specification | International Conference on Computational Science · 2007 |
| Synchronous Programming with Refinement Types | arXiv · 2024 |
| PretVM: Predictable, Efficient Virtual Machine for Real-Time Concurrency | arXiv · 2024 |
| From non-preemptive to preemptive scheduling using synchronization synthesis | arXiv · 2015 |
| The Omni Macroprogramming Environment for Sensor Networks | International Conference on Computational Science · 2006 |
| Reflexes: abstractions for highly responsive systems | Vee · 2007 |