Mathematizing C++ concurrency
Mark Batty, Scott Owens, Susmit Sarkar et al. · ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages (POPL) · 2011
Shared-memory concurrency in C and C++ is pervasive in systems programming, but has long been poorly defined. This motivated an ongoing shared effort by the standards committees to specify concurrent behaviour in the next versions of both languages. They aim to provide strong guarantees for race-free programs, together with new (but subtle) relaxed-memory atomic primitives for high-performance concurrent code. However, the current draft standards, while the result of careful deliberation, are not yet clear and rigorous definitions, and harbour substantial problems in their details.
Cited by 276 works. doi:10.1145/1926385.1926394
Authors
References
- How to Make a Multiprocessor Computer That Correctly Executes Multiprocess Programs
- The Java memory model
- Foundations of the C++ concurrency memory model
- x86-TSO
- A Better x86 Memory Model: x86-TSO
- Memory models
- The semantics of x86-CC multiprocessor machine code
- Fences in Weak Memory Models
- The Java memory model is fatally flawed
- On Validity of Program Transformations in the Java Memory Model