首页> 外文会议>Distributed Computing and Networking >Provable STM Properties: Leveraging Clock and Locks to Favor Commit and Early Abort
【24h】

Provable STM Properties: Leveraging Clock and Locks to Favor Commit and Early Abort

机译:可证明的STM特性:利用时钟和锁来支持提交和提前中止

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

摘要

The aim of a Software Transactional Memory (STM) is to discharge the programmers from the management of synchronization in multiprocess programs that access concurrent objects. To that end, a STM system provides the programmer with the concept of a transaction: each sequential process is decomposed into transactions, where a transaction encapsulates a piece of code accessing concurrent objects. A transaction contains no explicit synchronization statement and appears as if it has been executed atomically. Due to the underlying concurrency management, a transaction commits or aborts.rnThe major part of papers devoted to STM systems address mainly their efficiency. Differently, this paper focuses on an orthogonal issue, namely, the design and the statement of a safety property. The only safety property that is usually considered is a global property involving all the transactions (e.g., conflict-serializability or opacity) that expresses the correction of the whole execution. Roughly speaking, these consistency properties do not prevent a STM system from aborting all the transactions. The proposed safety property, called obligation, is on each transaction taken individually. It specifies minimal circumstances in which a STM system must commit a transaction T. The paper proposes and investigates such an obligation property. Then, it presents a STM algorithm that implements it. This algorithm, which is based on a logical clock and associates a lock with each shared object, is formally proved correct.
机译:软件事务存储(STM)的目的是使程序员摆脱访问并发对象的多进程程序中的同步管理。为此,STM系统为程序员提供了事务的概念:每个顺序过程都分解为事务,其中事务封装了一段访问并发对象的代码。事务不包含任何显式同步语句,并且看起来好像已自动执行了。由于底层的并发管理,事务会提交或中止。rn专门讨论STM系统的论文的主要部分主要讨论其效率。与此不同,本文关注的是正交问题,即安全属性的设计和声明。通常认为唯一的安全属性是涉及所有表示完整执行纠正的事务的全局属性(例如,可序列化冲突或不透明性)。粗略地说,这些一致性属性不会阻止STM系统中止所有事务。提议的安全性(称为义务)是针对每个交易单独进行的。它指定了STM系统必须提交事务T的最小情况。本文提出并研究了这种义务属性。然后,提出了实现它的STM算法。该算法基于逻辑时钟并将锁与每个共享库相关联,已被正式证明是正确的。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号