计算机科学 > 程序设计语言
[提交于 2012年12月17日]
标题:Shared Contract-Obedient Endpoints
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Most of the existing verification techniques for message-passing programs suppose either that channel endpoints are used in a linear fashion, where at most one thread may send or receive from an endpoint at any given time, or that endpoints may be used arbitrarily by any number of threads. The former approach usually forbids the sharing of channels while the latter limits what is provable about programs. In this paper we propose a midpoint between these techniques by extending a proof system based on separation logic to allow sharing of endpoints. We identify two independent mechanisms for supporting sharing: an extension of fractional shares to endpoints, and a new technique based on what we call reflexive ownership transfer. We demonstrate on a number of examples that a linear treatment of sharing is possible.
提交历史
来自:EPTCS[v1] 2012年12月17日 星期一 03:42:11 UTC