pith. sign in

arxiv: 0805.4029 · v1 · submitted 2008-05-27 · 💻 cs.PL · cs.DC

Event Synchronization by Lightweight Message Passing

classification 💻 cs.PL cs.DC
keywords abstractionsconcurrenteventimplementationsynchronizationcombinatorseventsfirst-class
0
0 comments X
read the original 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 $\mathtt{choose}$ for expressing selective communication.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.