> If we took all the people in Silicon Valley who have ever written threaded > code which didn't have deadlocks or race conditions and had them shot, we > wouldn't have to shoot anyone. :-) Sure, but what fun would that be? It's not the threaded code that's the problem. It's that decision to start the second thread that *really* hurts... :-) shap