Towards type-theoretic semantics for transactional concurrency
Towards type-theoretic semantics for transactional concurrency
复制标题
面向事务并发的类型论语义
DOI:
10.1145/1481861.1481872
复制
发表时间:
2009
期刊:
影响因子:
--
通讯作者:
Greg Morrisett
中科院分区:
文献类型:
--
作者:
Aleksandar Nanevski;Paul Govereau;Greg Morrisett
We propose a dependent type theory that integrates programming, specifications, and reasoning about higher-order concurrent programs with shared transactional memory. The design builds upon our previous work on Hoare Type Theory (HTT), which we extend with types that correspond to Hoare-style specifications for transactions. The types track shared and local state of the process separately, and enforce that shared state always satisfies a given invariant, except at specific critical sections which appear to execute atomically. Atomic sections may violate the invariant, but must restore it upon exit. HTT follows Separation Logic in providing tight specifications of space requirements.
As a logic, we argue that HTT is sound and compositional. As a programming language, we define its operational semantics and show adequacy with respect to specifications.
DOI:
10.1145/964001.964024
发表时间:
2004-01
期刊:
Proceedings of the 31st ACM SIGPLAN-SIGACT symposium on Principles of programming languages
影响因子:
--
作者:
P. O'Hearn;Hongseok Yang;J. C. Reynolds
通讯作者:
P. O'Hearn;Hongseok Yang;J. C. Reynolds