Commit a1339d723f1051e10decfc60a454b3ae39fcc0a2

Con Kolivas 2011-07-16T11:06:58

Only pthread_join the mining threads if they exist as determined by pthread_cancel.