论文标题
与交互的软件交易记忆
Software Transactional Memory with Interactions
论文作者
论文摘要
软件交易内存(STM)是用于基于锁定同步的并发编程替代方案的新兴抽象。大多数STM模型仅接受孤立的交易,这些交易在多线程编程中不足,在该编程中,交易需要通过共享数据进行交互。为了克服这一限制,在本文中,我们提出了开放式交易记忆(OTM),这是一种编程抽象,支持可组合内存交易之间的安全,数据驱动的相互作用。这是通过放松交易之间的隔离来实现的,仍然确保原子能。该模型允许松散耦合的交互作用,因为交易合并仅由对共享数据的访问驱动,而无需事先指定参与者。
Software Transactional memory (STM) is an emerging abstraction for concurrent programming alternative to lock-based synchronizations. Most STM models admit only isolated transactions, which are not adequate in multithreaded programming where transactions need to interact via shared data before committing. To overcome this limitation, in this paper we present Open Transactional Memory (OTM), a programming abstraction supporting safe, data-driven interactions between composable memory transactions. This is achieved by relaxing isolation between transactions, still ensuring atomicity. This model allows for loosely-coupled interactions since transaction merging is driven only by accesses to shared data, with no need to specify participants beforehand.