sponsors
usenix conference policies
Disciplined Concurrent Programming Using Tasks with Effects
Stephen Heumann and Vikram Adve, University of Illinois at Urbana-Champaign
Concurrent programming has become ubiquitous, but today’s widely-used concurrent programming models provide few safety guarantees, making it easy to write code with subtle errors. Models that do give strong guarantees often can only express a relatively limited class of programs. We argue that a concurrent programming model should offer strong safety guarantees, while still providing the flexibility and performance needed to support the many ways that concurrency is used in complex, interactive applications.
To achieve this, we propose a new programming model based on tasks with effects. In this model, the core unit of work is a dynamically-created task. The key feature of our model is that each task has programmer-specified, statically-checked effects, and a runtime scheduler is used to ensure that two tasks are run concurrently only if their effects are non-interfering. Our model guarantees strong safety properties, including data race freedom and a form of atomicity. We describe this programming model and its properties, and propose several research questions related to it.
Open Access Media
USENIX is committed to Open Access to the research presented at our events. Papers and proceedings are freely available to everyone once the event begins. Any video, audio, and/or slides that are posted after the event are also free and open to everyone. Support USENIX and our commitment to Open Access.
author = {Stephen Heumann and Vikram Adve},
title = {Disciplined Concurrent Programming Using Tasks with Effects},
booktitle = {4th USENIX Workshop on Hot Topics in Parallelism (HotPar 12)},
year = {2012},
address = {Berkeley, CA},
url = {https://www.usenix.org/conference/hotpar12/workshop-program/presentation/heumann},
publisher = {USENIX Association},
month = jun
}
connect with us