You could supply `pthread_thread_t *pt` in here. One less lookup.