3 ms·
I think it's a little unfair to characterize GP's comment as sniping. Race conditions don't necessarily involve schedulers, or CPUs operating on memory location
by echlebek 6y ago
I think it's a little unfair to characterize GP's comment as sniping. Race conditions don't necessarily involve schedulers, or CPUs operating on memory locations. It's true that concurrent processes that work correctly without synchronization are often called lock-free, but I don't see how that refutes the original point.
Given the context, and the confusion about what race conditions even are in some of the comments in the thread, I'd say the comment opened some good discussion. GP also provided examples of race conditions that are simple to reason about elsewhere in the thread, and also explained the difference between race conditions in general, and data races.