Contrasting Deadlock-Free Session Processes (Extended Version)

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Jaramillo, Juan C., Pérez, Jorge A.
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866909593368526848
author Jaramillo, Juan C.
Pérez, Jorge A.
author_facet Jaramillo, Juan C.
Pérez, Jorge A.
contents Deadlock freedom is a crucial property for message-passing programs. Over the years, several different type systems for concurrent processes that ensure deadlock freedom have been proposed; this diversity raises the question of how they compare. We address this question, considering two type systems not covered in prior work: Kokke etal's HCP, a type system based on a linear logic with hypersequents, and Padovani's priority-based type system for asynchronous processes, dubbed P. Their distinctive features make formal comparisons relevant and challenging. Our findings are two-fold: (1) the hypersequent setting does not drastically change the class of deadlock-free processes induced by linear logic, and (2) we relate the classes of deadlock-free processes induced by HCP and P. We prove that our results hold under both synchronous and asynchronous communication. Our results provide new insights into the essential mechanisms involved in statically avoiding deadlocks in concurrency.
format Preprint
id arxiv_https___arxiv_org_abs_2504_15845
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Contrasting Deadlock-Free Session Processes (Extended Version)
Jaramillo, Juan C.
Pérez, Jorge A.
Programming Languages
Deadlock freedom is a crucial property for message-passing programs. Over the years, several different type systems for concurrent processes that ensure deadlock freedom have been proposed; this diversity raises the question of how they compare. We address this question, considering two type systems not covered in prior work: Kokke etal's HCP, a type system based on a linear logic with hypersequents, and Padovani's priority-based type system for asynchronous processes, dubbed P. Their distinctive features make formal comparisons relevant and challenging. Our findings are two-fold: (1) the hypersequent setting does not drastically change the class of deadlock-free processes induced by linear logic, and (2) we relate the classes of deadlock-free processes induced by HCP and P. We prove that our results hold under both synchronous and asynchronous communication. Our results provide new insights into the essential mechanisms involved in statically avoiding deadlocks in concurrency.
title Contrasting Deadlock-Free Session Processes (Extended Version)
topic Programming Languages
url https://arxiv.org/abs/2504.15845