arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2007.10809cs.PL
收藏

具有交互作用的软件事务存储器

Software Transactional Memory with Interactions

Marino Miculan, Marco Peressotti

摘要:

软件事务内存(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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑