News for hackers. Stuff that matters.
Re:When you see a Heisenbug in C, change your compiler's opt... by Dylan16807 on Saturday March 01, 2014 @11:12PM (#7327680)
Imagine two threads that safely lock a resource, increment it, copy the value, and then unlock it. This is entirely defined, but also a race condition.

Race conditions are a lot like unsanitized input. They don't cause problems by themselves, but if you make incorrect assumptions it's easy to write incorrect code.

There are no comments on this comment yet.