10.23.07

cout thread safety

Posted in Blogroll at 8:38 pm by kevincw01

Came across this today and thought it was post-worthy:

I would expect any program that uses cout in more than one thread,
without locking, to fail in random ways. A deadlock or crash means
you got lucky, because by the specs in that case it’s allowed to
erase your disk and impregnate your sister.

I found it here in a discussion of using cout from concurrent threads.

10.14.07

hello pneumatic world

Posted in Blogroll at 11:25 pm by kevincw01

air compressor
I got an air compressor for a couple hundred dollars from autozone today. It’s not bad, it came with a bunch of cheap-o air tools too. Of course I didn’t have the right size sockets so that screwed things up. I bought it because the toyota dealer was charging double for an oil change to rotate the tires too. So when I got home to do it myself the lug nuts were on tighter than they’d ever been before…probably not a coincidence since the guy was not real happy that we figured out his scam. So my quest to save $30 cost me around $300. But it’s not like I wont use this thing for a lot of other stuff.