I am having random troubles with threading on random platforms. It works well on single CPU machines.
It fails badly on multiple CPU machines. Now this is usually the case with multithreaded programs. Now you have to identify the assumptions in your code that might break things. This is relativly easy when you have written code yourself, but next to impossible if you haven't. And debuggin threaded applications is not trivial, since if you slow it down with debugging information, you usually end up with something running correctly. Remeber, god is involved in how your threads are scheduled
What is left to do now is.
So now I have to fix that. Lets move on!