【24h】

Relaxed Separation Logic: A Program Logic for C11 Concurrency

机译:轻松分离逻辑:C11并发的程序逻辑

获取原文
获取原文并翻译 | 示例
       

摘要

We introduce relaxed separation logic (RSL), the first program logic for reasoning about concurrent programs running under the C11 relaxed memory model. From a user’s perspective, RSL is an extension of concurrent separation logic (CSL) with proof rules for the various kinds of C11 atomic accesses. As in CSL, individual threads are allowed to access non-atomically only the memory that they own, thus preventing data races. Ownership can, however, be transferred via certain atomic accesses. For SC-atomic accesses, we permit arbitrary ownership transfer; for acquire/release atomic accesses, we allow ownership transfer only in one direction; whereas for relaxed atomic accesses, we rule out ownership transfer completely.We illustrate RSL with a few simple examples and prove its soundness directly over the axiomatic C11 weak memory model.
机译:我们介绍了放松分离逻辑(RSL),这是第一个用于推理在C11放松内存模型下运行的并发程序的程序逻辑。从用户的角度来看,RSL是并发分离逻辑(CSL)的扩展,其中包含针对各种C11原子访问的证明规则。与CSL中一样,允许各个线程非原子方式仅访问其拥有的内存,从而防止了数据争用。但是,所有权可以通过某些原子访问来转移。对于SC原子访问,我们允许任意所有权转移;对于获取/释放原子访问,我们只允许所有权在一个方向上转移;我们通过一些简单的例子来说明RSL,并直接在公理C11弱记忆模型上证明其合理性。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号