Event Loop Coordination Using Meta-programming - Inria - Institut national de recherche en sciences et technologies du numérique
Communication Dans Un Congrès Année : 2013

Event Loop Coordination Using Meta-programming

Laure Philips
  • Fonction : Auteur
  • PersonId : 1003812
Dries Harnie
  • Fonction : Auteur
  • PersonId : 1003813
Kevin Pinte
  • Fonction : Auteur
  • PersonId : 1003814
Wolfgang De Meuter
  • Fonction : Auteur
  • PersonId : 1003815

Résumé

Event-based programming is used in different domains, ranging from user interface development to various distributed systems. Combining different event-based subsystems into one system forces the developer to manually coordinate the different event loops of these subsystems. This leads to a lot of excessive code and, in addition, some event loops are prey to lifecycle state changes. On mobile applications, for example, event loops can be shut down when memory runs low on the device. Current approaches take care of the communication problems between the different types of event loops, but become complex when trying to deal with lifecycle state changes. We propose a new coordination model, Elector, that allows two event loops to run separately, and introduce a novel kind of reference, called undead references. These references do not only allow communication between the event loops, but also handle lifecycle state changes in such a way that they do not influence other event loops.
Fichier principal
Vignette du fichier
978-3-642-38493-6_14_Chapter.pdf (361.22 Ko) Télécharger le fichier
Origine Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

hal-01486027 , version 1 (09-03-2017)

Licence

Identifiants

Citer

Laure Philips, Dries Harnie, Kevin Pinte, Wolfgang De Meuter. Event Loop Coordination Using Meta-programming. 15th International Conference on Coordination Models and Languages (COORDINATION), Jun 2013, Florence, Italy. pp.196-210, ⟨10.1007/978-3-642-38493-6_14⟩. ⟨hal-01486027⟩
79 Consultations
94 Téléchargements

Altmetric

Partager

More