arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1508.06707cs.LOcs.PL
收藏

比较无死锁会话类型进程

Comparing Deadlock-Free Session Typed Processes

Ornela Dardha, Jorge A. Pérez

摘要:

除了遵守规定的协议,以通信为中心的系统永远不应该“卡住”。这个需求已经通过诸如进度或(死)锁自由度之类的活动属性来表达。已经提出了几个类型的纪律,确保这些属性的移动进程。不幸的是,人们对这些规程之间的精确关系以及它们所引发的类型化过程的类知之甚少。本文对两类无死锁的会话型并发进程L和K进行了比较。类L因其规范性而突出:它自然地产生于将线性逻辑命题解释为会话类型。类K,通过将会话类型编码到Kobayashi的使用类型中获得,包括在其他类型系统中不可类型化的进程。我们证明了L严格包含在K中。我们还确定了L和K重合的精确条件。一个关键的观察是,并行进程之间的共享程度决定了类型化进程的新表达层次结构。我们还提供了一个保持类型的重写过程中的进程在K到L。这个过程表明,虽然共享程度是有效的,但它是区分类型化进程的一个相当微妙的标准。

英文摘要:

Besides respecting prescribed protocols, communication-centric systems should never "get stuck". This requirement has been expressed by liveness properties such as progress or (dead)lock freedom. Several typing disciplines that ensure these properties for mobile processes have been proposed. Unfortunately, very little is known about the precise relationship between these disciplines--and the classes of typed processes they induce. In this paper, we compare L and K, two classes of deadlock-free, session typed concurrent processes. The class L stands out for its canonicity: it results naturally from interpretations of linear logic propositions as session types. The class K, obtained by encoding session types into Kobayashi's usage types, includes processes not typable in other type systems. We show that L is strictly included in K. We also identify the precise condition under which L and K coincide. One key observation is that the degree of sharing between parallel processes determines a new expressiveness hierarchy for typed processes. We also provide a type-preserving rewriting procedure of processes in K into processes in L. This procedure suggests that, while effective, the degree of sharing is a rather subtle criteria for distinguishing typed processes.

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

↑