You know what’s even worse than a race condition between two threads in your code? A race condition in one thread in your code, because there are good solutions and debugging techniques for tracking down multi-threading conflicts, but they don’t work when there’s only one thread ...
More...