I just spent three hours trying to fix a bug that dissapeared as in as strange a manner as it appeared. I did a 'make clean' on the whole simulator, and all of a sudden I Linux wouldn't let me create all of the threads I needed. It punked out with some "Resource not available" error. And yet as far as I know, I am creating less than the available max and always have been. Moreover, I don't think I've changed any of the code that would affect thread creation recently. Finally, I hit make enough times that whatever black magic I created was undone.
I don't know how I am going to get things done for Friday at this pace.
I hate C++.