Skip to Main content Skip to Navigation
Conference papers

Multi-threaded Active Objects

Abstract : Active objects offer a paradigm which simplifies writing distributed applications. Since each active object has a single thread of control, data races are prevented. However, this programming model has its limitations: it is deadlock-prone, and it is not efficient on multicore machines. To overcome these limitations, we present an extension of the active object model, called multi-active objects, that allows each activity to be multi-threaded. The new model is implemented as a Java library; it relies on method annotations to decide which requests can be run in parallel. It provides implicit parallelism, sparing the programmer from low-level concurrency mechanisms. We define the operational semantics of the multi-active objects and study the basic properties of this model. Finally, we show with two applications that our approach is easy to program and efficient.
Complete list of metadatas

https://hal.inria.fr/hal-01486037
Contributor : Hal Ifip <>
Submitted on : Thursday, March 9, 2017 - 3:53:15 PM
Last modification on : Tuesday, May 26, 2020 - 6:50:39 PM
Document(s) archivé(s) le : Saturday, June 10, 2017 - 2:33:25 PM

File

978-3-642-38493-6_7_Chapter.pd...
Files produced by the author(s)

Licence


Distributed under a Creative Commons Attribution 4.0 International License

Identifiers

Citation

Ludovic Henrio, Fabrice Huet, Zsolt István. Multi-threaded Active Objects. 15th International Conference on Coordination Models and Languages (COORDINATION), Jun 2013, Florence, Italy. pp.90-104, ⟨10.1007/978-3-642-38493-6_7⟩. ⟨hal-01486037⟩

Share

Metrics

Record views

116

Files downloads

161