6
votes
Vote UpVote

The case of the one-thread race condition

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 ...
Favorite? Off-Topic? Mason Wheeler @ 2014-01-13 00:57

Statistics

Visits: 1066
Votes: 6
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Alister Christie
François
Primoz Gabrijelcic
Richard Marsden
Rob McDonell
TOndrej
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)