首页> 外文会议>Annual ACM SIGPLAN-SIGACT symposium on principles of programming languages >Expressive Modular Fine-Grained Concurrency Specification
【24h】

Expressive Modular Fine-Grained Concurrency Specification

机译:富有表现力的模块化细粒度并发规范

获取原文

摘要

Compared to coarse-grained external synchronization of operations on data structures shared between concurrent threads, fine-grained, internal synchronization can offer stronger progress guarantees and better performance. However, fully specifying operations that perform internal synchronization moduiarly is a hard, open problem. The state of the art approaches, based on linearizability or on concurrent abstract predicates, have important limitations on the expressiveness of specifications. Linearizability does not support ownership transfer, and the concurrent abstract predicates-based specification approach requires hardcoding a particular usage protocol. In this paper, we propose a novel approach that lifts these limitations and enables fully general specification of fine-grained concurrent data structures. The basic idea is that clients pass the ghost code required to instantiate an operation's specification for a specific client scenario into the operation in a simple form of higher-order programming. We machine-checked the theory of the paper using the Coq proof assistant. Furthermore, we implemented the approach in our program verifier VeriFast and used it to verify two challenging finegrained concurrent data structures from the literature: a multiple-compare-and-swap algorithm and a lock-coupling list.
机译:相比于并发线程之间共享的数据结构的操作的粗粒外部同步,细粒,内部同步可以提供更强的进步保证和更好的性能。然而,完全指定执行内部同步操作moduiarly是硬的,开放的问题。该技术的方法的状态,基于线性化或并发抽象谓词,对规范的表现重要的限制。线性化不支持所有权转移,以及并发基于谓词抽象规范方法需要硬编码特定使用的协议。在本文中,我们提出了提升这些限制,并完全能够细粒度并发数据结构的一般规格的新方法。其基本思路是,客户通过所需的鬼代码实例化操作的特定客户端方案规范到操作中高阶编程的简单形式。我们机器检查使用Coq的证明助手纸张的理论。此外,我们在执行我们的计划验证VeriFast的方法,并用它来验证从文献2层有挑战性的细粒化的并发数据结构:多比较并交换算法和锁连接列表。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号