task_join
oldtk = task_join(tk, 0);
extern task_t *task_join(task_t *, uint_t);
oldtk = task_join(tk, flags);