Multi-threaded Active Objects - Inria - Institut national de recherche en sciences et technologies du numérique Accéder directement au contenu
Communication Dans Un Congrès Année : 2013

Multi-threaded Active Objects

Résumé

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.
Fichier principal
Vignette du fichier
mao_coordination.pdf (276.77 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

hal-00818482 , version 1 (27-04-2013)

Identifiants

  • HAL Id : hal-00818482 , version 1

Citer

Ludovic Henrio, Fabrice Huet, Zsolt István. Multi-threaded Active Objects. COORDINATION 2013, Jun 2013, Firenze, Italy. ⟨hal-00818482⟩
210 Consultations
379 Téléchargements

Partager

Gmail Facebook X LinkedIn More