Transactional memory with data invariants
Transactional memory with data invariants
复制标题
具有数据不变量的事务内存
DOI:
--
复制
发表时间:
2006
期刊:
影响因子:
--
通讯作者:
S. Jones
中科院分区:
文献类型:
--
作者:
T. Harris;S. Jones
This paper introduces a mechanism for asserting invariants that are maintained by a program that uses atomic memory transactions. The idea is simple: a programmer writes check E where E is an expression that should be preserved by every atomic update for the remainder of the program’s execution. We have extended STM Haskell to dynamically evaluate check statements atomically with the user’s updates: the result is that we can identify precisely which update is the first one to break an invariant.