@gron

Scheduling-Independent Threads and Exceptions in SHIM

, and . EMSOFT '06: Proceedings of the 6th ACM & IEEE International conference on Embedded software, page 142--151. New York, NY, USA, ACM, (2006)
DOI: http://doi.acm.org/10.1145/1176887.1176908

Abstract

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 pre-liminary implementation.

Description

Scheduling-independent threads and exceptions in SHIM

Links and resources

Tags

community

  • @gron
  • @dblp
@gron's tags highlighted