Event Loop Coordination using Meta-Programming

Laure Philips, Dries Harnie, Kevin Pinte, Wolfgang De Meuter

Onderzoeksoutput: Conference paper


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 sub-systems. 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.
Originele taal-2English
Titel15th International Conference on Coordination Models and Languages
RedacteurenChristine Julien, Rocco De Nicola
Aantal pagina's15
ISBN van geprinte versie978-3-642-38492-9
StatusPublished - 2013
EvenementUnknown - Florence, Italy
Duur: 3 jun 20135 jun 2013

Publicatie series

NaamLecture Notes in Computer Science



Bibliografische nota

Christine Julien and Rocco De Nicola

Vingerafdruk Duik in de onderzoeksthema's van 'Event Loop Coordination using Meta-Programming'. Samen vormen ze een unieke vingerafdruk.

Citeer dit