共享内存上的打开事务
Open Transactions on Shared Memory
摘要:
transmittance内存已经成为解决基于锁的编程的许多问题的好方法。然而,大多数实现只允许隔离的事务,当我们必须协调通信过程时,这是不够的。为此,在本文中,我们提出了OCTM,一个Haskell类似的语言与开放事务共享事务内存:进程可以在运行时加入事务只是通过访问共享变量。因此,事务可以通过共享变量与环境合作,但如果它被回滚,它对环境的所有影响也会被收回。为了证明TCCS的表达能力,我们给出了TCCS的实现,一个开放事务的类CCS演算。
英文摘要:
Transactional memory has arisen as a good way for solving many of the issues of lock-based programming. However, most implementations admit isolated transactions only, which are not adequate when we have to coordinate communicating processes. To this end, in this paper we present OCTM, an Haskell-like language with open transactions over shared transactional memory: processes can join transactions at runtime just by accessing to shared variables. Thus a transaction can co-operate with the environment through shared variables, but if it is rolled-back, also all its effects on the environment are retracted. For proving the expressive power of TCCS we give an implementation of TCCS, a CCS-like calculus with open transactions.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。