TURBU Tech – 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 involved. That’s right. I just spent the last few hours tracking down what turned out to be a reentrancy problem. At first, it looked like simple memory corruption. A certain routine in a third-party DLL (that I happen to have the source to) was crashing under certain conditions, and it was ...
Visits by Source
Users who voted for this posting