Lines Matching defs:thact
577 thread_t thact;
585 for (thact = (thread_t)queue_first(&task->threads);
586 !queue_end(&task->threads, (queue_entry_t)thact); ) {
588 if (thact->machine.cthread_self == thaddr)
590 if (thact->machine.pcb->cthread_self == thaddr)
597 if ((kret = thread_info_internal(thact, THREAD_BASIC_INFO, (thread_info_t)&basic_info, &count)) != KERN_SUCCESS) {
614 ptinfo->pth_curpri = thact->sched_pri;
615 ptinfo->pth_priority = thact->priority;
616 ptinfo->pth_maxpriority = thact->max_priority;
618 if ((vpp != NULL) && (thact->uthread != NULL))
619 bsd_threadcdir(thact->uthread, vpp, vidp);
623 thact = (thread_t)queue_next(&thact->task_threads);
636 thread_t thact;
644 for (thact = (thread_t)queue_first(&task->threads);
645 !queue_end(&task->threads, (queue_entry_t)thact); ) {
647 thaddr = thact->machine.cthread_self;
649 thaddr = thact->machine.pcb->cthread_self;
657 thact = (thread_t)queue_next(&thact->task_threads);