首页> 外文OA文献 >Transactional Tasks: Parallelism in Software Transactions
【2h】

Transactional Tasks: Parallelism in Software Transactions

机译:交易任务:软件交易中的并行性

代理获取
本网站仅为用户提供外文OA文献查询和代理获取服务,本网站没有原文。下单后我们将采用程序或人工为您竭诚获取高质量的原文,但由于OA文献来源多样且变更频繁,仍可能出现获取不到、文献不完整或与标题不符等情况,如果获取不到我们将提供退款服务。请知悉。
获取外文期刊封面目录资料

摘要

Many programming languages, such as Clojure, Scala, and Haskell, support different concurrency models.In practice these models are often combined, however the semantics of the combinations are not always well-defined.In this paper, we study the combination of futures and Software Transactional Memory.Currently, futures created within a transaction cannot access the transactional state safely, violating the serializability of the transactions and leading to undesired behavior.We define transactional tasks: a construct that allows futures to be created in transactions.Transactional tasks allow the parallelism in a transaction to be exploited, while providing safe access to the state of their encapsulating transaction.We show that transactional tasks have several useful properties: they are coordinated, they maintain serializability, and they do not introduce non-determinism.As such, transactional tasks combine futures and Software Transactional Memory, allowing the potential parallelism of a program to be fully exploited, while preserving the properties of the separate models where possible.
机译:Clojure,Scala和Haskell等许多编程语言都支持不同的并发模型,在实践中通常将这些模型组合在一起,但是组合的语义并不总是很好定义的。软件交易内存。当前,在交易中创建的期货无法安全地访问交易状态,从而违反了交易的可序列化性并导致不良行为。我们定义了交易任务:一种允许在交易中创建期货的结构。在要利用的事务中提供并行性,同时提供对封装事务状态的安全访问权限。我们证明了事务任务具有几个有用的属性:它们相互协调,保持可序列化性,并且不会引入不确定性。事务性任务结合了期货和软件事务性存储器,从而实现了潜在的并行性充分利用程序的功能,同时尽可能保留单独模型的属性。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号