Constructing Weakly Terminating Interface Protocols

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Bera, Debjyoti, Willemse, Tim A. C.
Formato: Preprint
Publicado: 2026
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866915867785166848
author Bera, Debjyoti
Willemse, Tim A. C.
author_facet Bera, Debjyoti
Willemse, Tim A. C.
contents Interfaces play a central role in determining compatible component compositions by prescribing permissible interactions between a service provider (server) and its consumers (clients). The high degree of concurrency in asynchronous communicating systems increases the risk of unintentionally introducing deadlocks and livelocks. The weak termination property serves as a basic sanity check to avoid such problems. It assures that in each reachable state, the system has the option to eventually terminate. This paper generalizes existing results that, by construction, guarantee weakly terminating interface compositions. Our generalizations make the theory applicable more broadly in practice. Starting with an interface specification of a server satisfying certain properties, we show how a class of clients modeling different usage contexts can be derived using a partial mirroring relation. Furthermore, we discuss an embedding of our results in an open-source tool to guide modelers in designing weakly terminating interfaces.
format Preprint
id arxiv_https___arxiv_org_abs_2603_15675
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Constructing Weakly Terminating Interface Protocols
Bera, Debjyoti
Willemse, Tim A. C.
Logic in Computer Science
Formal Languages and Automata Theory
Software Engineering
F.1.1; F.1.2
Interfaces play a central role in determining compatible component compositions by prescribing permissible interactions between a service provider (server) and its consumers (clients). The high degree of concurrency in asynchronous communicating systems increases the risk of unintentionally introducing deadlocks and livelocks. The weak termination property serves as a basic sanity check to avoid such problems. It assures that in each reachable state, the system has the option to eventually terminate. This paper generalizes existing results that, by construction, guarantee weakly terminating interface compositions. Our generalizations make the theory applicable more broadly in practice. Starting with an interface specification of a server satisfying certain properties, we show how a class of clients modeling different usage contexts can be derived using a partial mirroring relation. Furthermore, we discuss an embedding of our results in an open-source tool to guide modelers in designing weakly terminating interfaces.
title Constructing Weakly Terminating Interface Protocols
topic Logic in Computer Science
Formal Languages and Automata Theory
Software Engineering
F.1.1; F.1.2
url https://arxiv.org/abs/2603.15675