ARM and Lock-Free Programming
Published: 29 November 2020
A common issue in programming is the formation of data races in asynchronous code. This often comes up when you're sharing data between threads. One approach in solving these issues is akin to Japanese carpentry without nails; lock-free concurrency programming. In this instructive article, Bruce Dawson introduces an example problem with cross thread data access, underlines some of the issues it could lead to, explains why a potential solution isn't in fact a solution, and finally offers a more reliable alternative, all in C++.