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

基于组合推理的显式并发资源管理

Compositional Reasoning for Explicit Resource Management in Channel-Based Concurrency

Adrian Francalanza, Edsko DeVries, Matthew Hennessy

摘要:

我们定义了一个π演算的变种与成本语义通道被视为资源,必须明确分配之前,他们被使用,可以被释放时不再需要。我们使用一个子结构类型系统跟踪权限转移构造共归纳证明技术比较行为和资源使用效率的并发进程。我们建立我们的共归纳定义和上下文行为前序描述的概念,过程效率w.r.t.之间的充分抽象的结果。它的资源管理。我们还证明了这些定义和相应的证明技术,通过大量的例子和案例研究比较两个并发实现的可扩展缓冲区。

英文摘要:

We define a pi-calculus variant with a costed semantics where channels are treated as resources that must explicitly be allocated before they are used and can be deallocated when no longer required. We use a substructural type system tracking permission transfer to construct coinductive proof techniques for comparing behaviour and resource usage efficiency of concurrent processes. We establish full abstraction results between our coinductive definitions and a contextual behavioural preorder describing a notion of process efficiency w.r.t. its management of resources. We also justify these definitions and respective proof techniques through numerous examples and a case study comparing two concurrent implementations of an extensible buffer.

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

↑