计算机科学 > 程序设计语言
[提交于 2010年2月5日]
标题:Programming Idioms for Transactional Events
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Transactional events (TE) are an extension of Concurrent ML (CML), a programming model for synchronous message-passing. Prior work has focused on TE's formal semantics and its implementation. This paper considers programming idioms, particularly those that vary unexpectedly from the corresponding CML idioms. First, we solve a subtle problem with client-server protocols in TE. Second, we argue that CML's wrap and guard primitives do not translate well to TE, and we suggest useful workarounds. Finally, we discuss how to rewrite CML protocols that use abort actions.
提交历史
来自:EPTCS[v1] 2010年2月5日 星期五 00:00:00 UTC