Multi-threaded Active Objects

Ludovic Henrio 1 Fabrice Huet 1 Zsolt István 2
1 OASIS - Active objects, semantics, Internet and security
CRISAM - Inria Sophia Antipolis - Méditerranée , Laboratoire I3S - COMRED - COMmunications, Réseaux, systèmes Embarqués et Distribués
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.
Liste complète des métadonnées

Cited literature [18 references]  Display  Hide  Download

https://hal.inria.fr/hal-00818482
Contributor : Ludovic Henrio <>
Submitted on : Saturday, April 27, 2013 - 10:16:15 AM
Last modification on : Thursday, April 18, 2019 - 5:35:28 PM
Document(s) archivé(s) le : Tuesday, April 4, 2017 - 1:09:36 AM

File

mao_coordination.pdf
Files produced by the author(s)

Identifiers

  • HAL Id : hal-00818482, version 1

Collections

Citation

Ludovic Henrio, Fabrice Huet, Zsolt István. Multi-threaded Active Objects. COORDINATION 2013, Jun 2013, Firenze, Italy. ⟨hal-00818482⟩

Share

Metrics

Record views

393

Files downloads

287