Sciweavers

Share
EMSOFT
2006
Springer

Scheduling-independent threads and exceptions in SHIM

12 years 1 months ago
Scheduling-independent threads and exceptions in SHIM
Concurrent programming languages should be a good fit for embedded systems because they match the intrinsic parallelism of their architectures and environments. Unfortunately, typical concurrent programming formalisms are prone to races and nondeterminism, despite the presence of mechanisms such as monitors. In this paper, we propose SHIM, the core of a deterministic concurrent language, meaning the behavior of a program is independent of the scheduling of concurrent operations. SHIM does not sacrifice power or flexibility to achieve this determinism. It supports both synchronous and asynchronous paradigms--loosely and tightly synchronized threads--the dynamic creation of threads and shared variables, recursive procedures, and exceptions. We illustrate our programming model with examples including breadth-first-search algorithms and pipelines. By construction, they are race-free. We provide the formal semantics of SHIM and a preliminary implementation. Categories and Subject Descripto...
Olivier Tardieu, Stephen A. Edwards
Added 22 Aug 2010
Updated 22 Aug 2010
Type Conference
Year 2006
Where EMSOFT
Authors Olivier Tardieu, Stephen A. Edwards
Comments (0)
books