English

Relaxed Operational Semantics of Concurrent Programming Languages

Programming Languages 2012-08-30 v1 Logic in Computer Science

Abstract

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.

Keywords

Cite

@article{arxiv.1208.5915,
  title  = {Relaxed Operational Semantics of Concurrent Programming Languages},
  author = {Gérard Boudol and Gustavo Petri and Bernard Serpette},
  journal= {arXiv preprint arXiv:1208.5915},
  year   = {2012}
}

Comments

In Proceedings EXPRESS/SOS 2012, arXiv:1208.2440

R2 v1 2026-06-21T21:56:50.185Z