Advertisement

Formalizing Propagation of Priorities in Reo, Using Eight Colors

  • Sung-Shik JongmansEmail author
Chapter
Part of the Lecture Notes in Computer Science book series (LNCS, volume 10865)

Abstract

Reo is a language for programming of coordination protocols among concurrent processes. Central to Reo are connectors: programmable synchronization/communication mediums used by processes to exchange data. Every connector runs at a clock; at every tick, it enacts an enabled synchronization/communication among processes.

Connectors may prioritize certain synchronizations/communications over others. “Passive” connectors use their priorities only at clock ticks, to decide which enabled synchronization/communication to enact. “Active” connectors, in contrast, use their priorities also between clock ticks, to influence which synchronizations/communications become enabled; they are said to “propagate their priorities”.

This paper addresses the problem of formalizing propagation of priorities in Reo. Specifically, this paper presents a new instantiation of the connector coloring framework, using eight colors. The resulting formalization of propagation of priorities is evaluated by proving several desirable behavioral equalities.

References

  1. [Arb04]
    Arbab, F.: Reo: a channel-based coordination model for component composition. Math. Struct. Comput. Sci. 14(3), 329–366 (2004)MathSciNetCrossRefzbMATHGoogle Scholar
  2. [Arb11]
    Arbab, F.: Puff, the magic protocol. In: Agha, G., Danvy, O., Meseguer, J. (eds.) Formal Modeling: Actors, Open Systems, Biological Systems. LNCS, vol. 7000, pp. 169–206. Springer, Heidelberg (2011).  https://doi.org/10.1007/978-3-642-24933-4_9CrossRefGoogle Scholar
  3. [CCA07]
    Clarke, D., Costa, D., Arbab, F.: Connector colouring I: synchronisation and context dependency. Sci. Comput. Program. 66(3), 205–225 (2007)MathSciNetCrossRefzbMATHGoogle Scholar
  4. [Cos10]
    Costa, D.: Formal models for component connectors. Ph.D. thesis, Vrije Universiteit (2010)Google Scholar
  5. [CP12]
    Clarke, D., Proença, J.: Partial connector colouring. In: Sirjani, M. (ed.) COORDINATION 2012. LNCS, vol. 7274, pp. 59–73. Springer, Heidelberg (2012).  https://doi.org/10.1007/978-3-642-30829-1_5CrossRefGoogle Scholar
  6. [JKA11]
    Jongmans, S.-S.T.Q., Krause, C., Arbab, F.: Encoding context-sensitivity in Reo into non-context-sensitive semantic models. In: De Meuter, W., Roman, G.-C. (eds.) COORDINATION 2011. LNCS, vol. 6721, pp. 31–48. Springer, Heidelberg (2011).  https://doi.org/10.1007/978-3-642-21464-6_3CrossRefGoogle Scholar
  7. [Jon18]
    Jongmans, S.-S.: Formalizing propagation of priorities in Reo, using eight colors (technical report). Technical report (2018). www.arxiv.org

Copyright information

© Springer International Publishing AG, part of Springer Nature 2018

Authors and Affiliations

  1. 1.Department of Computer ScienceOpen UniversityHeerlenThe Netherlands
  2. 2.Department of ComputingImperial College LondonLondonUK

Personalised recommendations