English

Event Synchronization by Lightweight Message Passing

Programming Languages 2008-05-28 v1 Distributed, Parallel, and Cluster Computing

Abstract

Concurrent ML's events and event combinators facilitate modular concurrent programming with first-class synchronization abstractions. A standard implementation of these abstractions relies on fairly complex manipulations of first-class continuations in the underlying language. In this paper, we present a lightweight implementation of these abstractions in Concurrent Haskell, a language that already provides first-order message passing. At the heart of our implementation is a new distributed synchronization protocol. In contrast with several previous translations of event abstractions in concurrent languages, we remain faithful to the standard semantics for events and event combinators; for example, we retain the symmetry of choose\mathtt{choose} for expressing selective communication.

Keywords

Cite

@article{arxiv.0805.4029,
  title  = {Event Synchronization by Lightweight Message Passing},
  author = {Avik Chaudhuri},
  journal= {arXiv preprint arXiv:0805.4029},
  year   = {2008}
}
R2 v1 2026-06-21T10:44:20.987Z