arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1208.5915cs.PLcs.LO
收藏

并发程序设计语言的松弛操作语义

Relaxed Operational Semantics of Concurrent Programming Languages

Gérard Boudol, Gustavo Petri, Bernard Serpette

摘要:

我们提出了一种新颖的,可操作的框架,正式描述的语义并发程序运行在一个宽松的内存模型的上下文中。我们的框架具有一个“临时存储”的内存操作发出的线程记录,在程序顺序。然后,内存模型指定允许全局执行此序列中的挂起操作的条件,可能是无序的。内存模型还涉及“写粒度”,这说明了线程可能读取尚未全局可见的写操作的架构。我们的正式模型是由一个软件模拟器支持,使我们能够在我们的语义运行石蕊测试。

英文摘要:

We propose a novel, operational framework to formally describe the semantics of concurrent programs running within the context of a relaxed memory model. Our framework features a "temporary store" where the memory operations issued by the threads are recorded, in program order. A memory model then specifies the conditions under which a pending operation from this sequence is allowed to be globally performed, possibly out of order. The memory model also involves a "write grain," accounting for architectures where a thread may read a write that is not yet globally visible. Our formal model is supported by a software simulator, allowing us to run litmus tests in our semantics.

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

↑