arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2111.13091cs.LO
收藏

异步基于会话的并发:循环进程网络中的无死锁性

Asynchronous Session-Based Concurrency: Deadlock-freedom in Cyclic Process Networks

Bas van den Heuvel, Jorge A. Pérez

AI总结:

本文提出支持异步通信和递归的会话类型框架 APCP 以确保循环进程网络的无死锁性,并设计新并发 λ-演算 LASTn,通过满足操作对应的翻译将无死锁保证从 APCP 转移到 LASTn。

摘要:

我们致力于解决在循环进程网络中异步通信的消息传递进程确保无死锁属性的挑战。我们的贡献有两方面。首先,我们提出了异步优先级经典进程(APCP),这是一个支持循环进程网络中异步通信、委托和递归的会话类型进程框架。基于线性逻辑与会话类型之间的 Curry-Howard 对应关系,我们为 APCP 建立了关键的元理论结果,最显著的是无死锁性。其次,我们提出了一种带有异步会话类型的新并发 $λ$-演算,称为 LASTn。我们通过示例说明了 LASTn 并建立了其元理论结果;特别地,我们展示了如何将无死锁保证从 APCP 可靠地转移到 LASTn。为此,我们开发了一种将 LASTn 中的项翻译为 APCP 中进程的翻译方法,该翻译满足操作对应的强表述。

英文摘要:

We tackle the challenge of ensuring the deadlock-freedom property for message-passing processes that communicate asynchronously in cyclic process networks. Our contributions are twofold. First, we present Asynchronous Priority-based Classical Processes (APCP), a session-typed process framework that supports asynchronous communication, delegation, and recursion in cyclic process networks. Building upon the Curry-Howard correspondences between linear logic and session types, we establish essential meta-theoretical results for APCP, most notably deadlock freedom. Second, we present a new concurrent $λ$-calculus with asynchronous session types, dubbed LASTn. We illustrate LASTn by example and establish its meta-theoretical results; in particular, we show how to soundly transfer the deadlock-freedom guarantee from APCP. To this end, we develop a translation of terms in LASTn into processes in APCP that satisfies a strong formulation of operational correspondence.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑