%0 Conference Proceedings %T Coordination of Tasks on a Real-Time OS %+ Institute for Systems and Computer Engineering, Technology and Science [Braga] (INESC TEC) %+ High-Assurance Software Laboratory [Braga, Portugal] ( HASLab ) %+ CISTER [Porto] %+ Altreonic %A Cledou, Guillermina %A Proença, José %A Sputh, Bernhard %A Verhulst, Eric %Z Part 5: Tools (2) %< avec comité de lecture %( Lecture Notes in Computer Science %B 21th International Conference on Coordination Languages and Models (COORDINATION) %C Kongens Lyngby, Denmark %Y Hanne Riis Nielson %Y Emilio Tuosto %I Springer International Publishing %3 Coordination Models and Languages %V LNCS-11533 %P 250-266 %8 2019-06-17 %D 2019 %R 10.1007/978-3-030-22397-7_15 %Z Computer Science [cs] %Z Computer Science [cs]/Networking and Internet Architecture [cs.NI]Conference papers %X VirtuosoNext$^{\text {TM}}$ TMis a distributed real-time operating system (RTOS) featuring a generic programming model dubbed Interacting Entities. This paper focuses on these interactions, implemented as so-called Hubs. Hubs act as synchronisation and communication mechanisms between the application tasks and implement the services provided by the kernel as a kind of Guarded Protected Action with a well defined semantics. While the kernel provides the most basic services, each carefully designed, tested and optimised, tasks are limited to this handful of basic hubs, leaving the development of more complex synchronization and communication mechanisms up to application specific implementations. In this work we investigate how to support a programming paradigm to compositionally build new services, using notions borrowed from the Reo coordination language, and relieving tasks from coordination aspects while delegating them to the hubs. We formalise the semantics of hubs using an automata model, identify the behaviour of existing hubs, and propose an approach to build new hubs by composing simpler ones. We also provide tools and methods to analyse and simplify hubs under our automata interpretation. In a first experiment several hub interactions are combined into a single more complex hub, which raises the level of abstraction and contributes to a higher productivity for the programmer. Finally, we investigate the impact on the performance by comparing different implementations on an embedded board. %G English %Z TC 6 %Z WG 6.1 %2 https://inria.hal.science/hal-02365513/document %2 https://inria.hal.science/hal-02365513/file/478673_1_En_15_Chapter.pdf %L hal-02365513 %U https://inria.hal.science/hal-02365513 %~ IFIP-LNCS %~ IFIP %~ IFIP-TC %~ IFIP-WG %~ IFIP-TC6 %~ IFIP-WG6-1 %~ IFIP-COORDINATION %~ IFIP-LNCS-11533