首页> 外文会议>International conference on formal engineering methods >A Composable Mixed Mode Concurrency Control Semantics for Transactional Programs
【24h】

A Composable Mixed Mode Concurrency Control Semantics for Transactional Programs

机译:事务程序的可组合混合模式并发控制语义

获取原文

摘要

Most software transactional memories employ optimistic concurrency control. A pessimistic semantics, however, is not without its benefits: its programming model is often much simpler to reason about and supports the execution of irreversible operations. We present a programming model that supports both optimistic and pessimistic concurrency control semantics. Our pessimistic transactions, guaranteed transactions (gatomics), afford a stronger semantics than that typically employed by pessimistic transactions by guaranteeing run once execution and safe encapsulation of the privatisation and publication idioms. We describe our mixed mode transactional programming language by giving a small step operational semantics. Using our semantics and their derived schedules of actions (reads and writes) we show that conflicting transactions (atomics) and gatomics are serialisable. We then go on to define schedules of actions in the form of Java's memory model (JMM) and show that the same properties that held under our restrictive memory model also hold under our modified JMM.
机译:大多数软件事务存储器都采用乐观并发控制。然而,悲观的语义并非没有其好处:其编程模型通常更容易推论并支持不可逆操作的执行。我们提出了一个支持乐观和悲观并发控制语义的编程模型。我们的悲观交易(保证交易(语法))比悲观交易通常采用的语义更强,它可以保证私有化和发布惯用语一旦执行并安全封装,就可以运行。我们通过给出一小步的操作语义来描述我们的混合模式事务编程语言。使用我们的语义及其派生的行动计划(读取和写入),我们证明冲突的事务(原子)和语法是可序列化的。然后,我们继续以Java的内存模型(JMM)的形式定义动作的时间表,并表明在我们的限制性内存模型下拥有的相同属性在修改后的JMM下也同样存在。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号