2 ms·
Yes, that widens the problem space considerably, especially if it depends on the rate of access or something similarly non-deterministic. But you're still funda
by Gwypaas 4y ago
Yes, that widens the problem space considerably, especially if it depends on the rate of access or something similarly non-deterministic. But you're still fundamentally testing interleavings through a synchronization library.
Still, reducing the problem space to such problems instead of any time you reach for atomics or a mutex, I imagine, removes the majority of bugs, so lets not throw the baby out with the bathwater because it's not perfect.