So, I was coding today and banging my head against the wall as usual. I have been trying to multithread my code to take advantage of multi-core processors.
It turns out I have been leaving a lot of data open and having all sorts of file parsing errors that I hadn't anticipated. I learned about this because threads which read files wouldn't die.
I guess sometimes learning a new programming concept, though it complicates things, can help you find bugs! Makes me happy... =]