thr_join
(void) thr_join(pc_thread, NULL, NULL);
(void) thr_join(tio_thread, NULL, NULL);
(void) thr_join(gstate[i].tid, NULL, NULL);
thr_join(0, 0, 0);
thr_join(0, 0, 0);
thr_join(0, 0, 0);
thr_join(0, 0, 0);
while ( thr_join(0, NULL, NULL) == 0 );
(void) thr_join(tid[j], NULL, NULL);
if (thr_join(tid[i], NULL, &status) == 0) {
(void) thr_join(piclslm_deliver_thr_id, NULL, NULL);
(void) thr_join(pri_worker_thread_id, NULL, NULL);
(void) thr_join(pri_worker_thread_id, NULL, NULL);
(void) thr_join(pri_reader_thread_id, NULL, NULL);
(void) thr_join(cache_refresh_thr_id, NULL, NULL);
(void) thr_join(tree_builder_thr_id, NULL, NULL);
(void) thr_join(rsi->tid, NULL, NULL);
(void) thr_join(scp->tid, NULL, NULL);
(void) thr_join(dl_notify_tid, NULL, NULL);
(void) thr_join(deliver_thr_id, NULL, NULL);
(void) thr_join(cmdq_thr_id, NULL, NULL);
if ((err = thr_join(cmdq_thr_id, NULL, NULL)) != 0) {
(void) thr_join(deliver_thr_id, NULL, NULL);
(void) thr_join(g_zfs_tid, NULL, NULL);
while (thr_join(0, NULL, NULL) == 0)
(void) thr_join(consp->wr_tid, NULL, NULL);
(void) thr_join(groupp->listen_tid, NULL, NULL);
thr_join(0, NULL, NULL);
thr_join(0, NULL, NULL);
(void) thr_join(tid, NULL, NULL);
VERIFY(thr_join(tid[t], NULL, NULL) == 0);
VERIFY(thr_join(resume_tid, NULL, NULL) == 0);
extern int thr_join(thread_t, thread_t *, void **);
(void) thr_join(tq->tq_threadlist[t], NULL, NULL);
extern int thr_join(thread_t, thread_t *, void **);
(void) thr_join(thr_id, NULL, NULL);
(void) thr_join(prev, NULL, NULL); /* joinable thread */
while (thr_join(NULL, NULL, NULL) == 0);
while (thr_join(NULL, NULL, NULL) == 0);
thr_join(NULL, NULL, NULL);
thr_join(tid, NULL, NULL);
thr_join(thrPool[i], NULL, &status) == 0) {
thr_join(thrPool[i], NULL, &status) == 0) {
(void) thr_join(tid, NULL, NULL);
(void) thr_join(hp->producer_tid, NULL, NULL);
(void) thr_join(sub_info->sp_handler_tid, NULL, NULL);
(void) thr_join(ztq->ztq_threadlist[t], NULL, NULL);
VERIFY0(thr_join(mqp->mq_thrs[i], NULL, NULL));
VERIFY0(thr_join(wqp->wq_thrs[i], NULL, NULL));
VERIFY0(thr_join(thr, NULL, &val));
int err = thr_join(thrids[i], NULL, NULL);
ret = thr_join(thr, NULL, NULL);
if (thr_join(thr, NULL, NULL) != 0) {
if (thr_join(thr, NULL, &thr_ret) != 0) {
(void) thr_join(tid, NULL, NULL);
if (thr_join(thr, NULL, NULL) != 0) {
while (thr_join(0, NULL, NULL) == 0)