Commit ecd03cefb7150b7532a321ed0b2889ebc1dd546a

Con Kolivas 2013-05-19T12:55:20

Properly pthread_join miner threads on shutdown.