首页> 外文会议>Distributed computing and networking. >Towards a Universal Construction for Transaction-Based Multiprocess Programs
【24h】

Towards a Universal Construction for Transaction-Based Multiprocess Programs

机译:面向基于事务的多进程程序的通用构造

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

摘要

The aim of a Software Transactional Memory (STM) system is to discharge the programmer from the explicit management of synchronization issues. The programmer's job resides in the design of multiprocess programs in which processes are made up of transactions, each transaction being an atomic execution unit that accesses concurrent objects. The important point is that the programmer has to focus her/his efforts only on the parts of code which have to be atomic execution units without worrying on the way the corresponding synchronization has to be realized. Non-trivial STM systems allow transactions to execute concurrently and rely on the notion of commit/abort of a transaction in order to solve their conflicts on the objects they access simultaneously. In some cases, the management of aborted transactions is left to the programmer. In other cases, the underlying system scheduler is appropriately modified or an underlying contention manager is used in order that each transaction be ("practically always" or with high probability) eventually committed. This paper presents a deterministic STM system in which (1) every invocation of a transaction is executed exactly once and (2) the notion of commit/abort of a transaction remains unknown to the programmer. This system, which imposes restriction neither on the design of processes nor or their concurrency pattern, can be seen as a step towards the design of a deterministic universal construction to execute transaction-based multiprocess programs on top of a multiprocessor. Interestingly, the proposed construction is lock-free (in the sense that it uses no lock).
机译:软件事务存储(STM)系统的目的是使程序员摆脱对同步问题的明确管理。程序员的工作在于多进程程序的设计中,其中进程由事务组成,每个事务都是访问并发对象的原子执行单元。重要的一点是,程序员只需将精力集中在必须是原子执行单元的代码部分上,而不必担心必须实现相应同步的方式。非平凡的STM系统允许事务同时执行并依靠事务的提交/中止概念来解决它们在同时访问的对象上的冲突。在某些情况下,中止事务的管理留给程序员。在其他情况下,可以适当地修改基础系统调度程序,或者使用基础竞争管理器,以便最终落实每个事务(“总是总是”或很有可能)。本文介绍了一种确定性STM系统,其中(1)每次事务调用都只执行一次,并且(2)程序员的事务提交/中止的概念仍然未知。这种既不限制流程设计也不限制其并发模式限制的系统,可以看作是迈向确定性通用结构设计的一步,以在多处理器之上执行基于事务的多进程程序。有趣的是,建议的构造是无锁的(就其不使用锁的意义而言)。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号