tq_threadlist
(uintptr_t)tq.tq_threadlist) == -1) {
tq->tq_threadlist = kmem_alloc(nthreads * sizeof (thread_t), KM_SLEEP);
tq, THR_BOUND, &tq->tq_threadlist[t]);
(void) thr_join(tq->tq_threadlist[t], NULL, NULL);
kmem_free(tq->tq_threadlist, nthreads * sizeof (thread_t));
if (tq->tq_threadlist[i] == (thread_t)(uintptr_t)t)
thread_t *tq_threadlist;
tq->tq_threadlist[thread_id - 1] = curthread;
tq->tq_threadlist[thread_id - 1] = NULL;
tq->tq_threadlist = kmem_alloc(
kmem_free(tq->tq_threadlist, sizeof (kthread_t *) *