Commit 59293a37d6abaa879e6f24e26b206a3b318b2f79

Con Kolivas 2011-12-26T09:29:16

Only pthread_join when pthread_cancel does not return an error.