High‐level data races
Cyrille Valentin Artho, Klaus Havelund, Armin Biere · Software Testing Verification and Reliability · 2003
Abstract Data races are a common problem in concurrent and multi‐threaded programming. Experience shows that the classical notion of a data race is not powerful enough to capture certain types of inconsistencies occurring in practice. This paper investigates data races on a higher abstraction layer. This enables detection of inconsistent uses of shared variables, even if no classical race condition occurs. For example, a data structure representing a coordinate pair may have to be treated atomically. By lifting the meaning of a data race to a higher level, such problems can now be covered. The paper defines the concepts ‘view’ and ‘view consistency’ to give a notation for this novel kind of property. It describes what kinds of errors can be detected with this new definition, and where its limitations are. It also gives a formal guideline for using data structures in a multi‐threaded environment. © US Government copyright
Cited by 189 works. doi:10.1002/stvr.281 Open-access PDF
Authors
References
- Design Patterns: Elements of Reusable Object-Oriented Software
- SEQUEL
- Proceedings of the International Joint Conference on Artificial Intelligence 2007
- How to Make a Multiprocessor Computer That Correctly Executes Multiprocess Programs
- The Java Programming Language
- Linearizability: a correctness condition for concurrent objects
- The serializability of concurrent database updates
- Eraser
- Bandera
- Extended static checking