Nitpick, I assume by "race condition" you mean "used lots of CPU". This is a common colloquial conflation, but race conditions [1] (which are not generally identifiable without aid of a debugger and the application's source code) and high CPU usage are unrelated concepts.