计算机科学 > 计算机科学中的逻辑
[提交于 2023年9月13日]
标题:Using Pi-Calculus Names as Locks
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Locks are a classic data structure for concurrent programming. We introduce a type system to ensure that names of the asynchronous pi-calculus are used as locks. Our calculus also features a construct to deallocate a lock once we know that it will never be acquired again. Typability guarantees two properties: deadlock-freedom, that is, no acquire operation on a lock waits forever; and leak-freedom, that is, all locks are eventually deallocated. We leverage the simplicity of our typing discipline to study the induced typed behavioural equivalence. After defining barbed equivalence, we introduce a sound labelled bisimulation, which makes it possible to establish equivalence between programs that manipulate and deallocate locks.
提交历史
来自:EPTCS[v1] 2023年9月13日 星期三 20:51:52 UTC