checklock_thrjoin
void checklock_thrjoin(pthread_t thread);
#define ub_thread_join(thread) checklock_thrjoin(thread)