Lines Matching refs:target_act
930 thread_act_t target_act; in __pthread_markcancel() local
934 target_act = (thread_act_t)port_name_to_thread(uap->thread_port, in __pthread_markcancel()
937 if (target_act == THR_ACT_NULL) { in __pthread_markcancel()
941 uth = (struct uthread *)get_bsdthread_info(target_act); in __pthread_markcancel()
947 thread_abort_safely(target_act); in __pthread_markcancel()
951 thread_deallocate(target_act); in __pthread_markcancel()
1097 thread_t target_act; in __pthread_kill() local
1102 target_act = (thread_t)port_name_to_thread(uap->thread_port, in __pthread_kill()
1105 if (target_act == THREAD_NULL) { in __pthread_kill()
1113 uth = (struct uthread *)get_bsdthread_info(target_act); in __pthread_kill()
1120 if ((thread_get_tag(target_act) & THREAD_TAG_WORKQUEUE) && !uth->uu_workq_pthread_kill_allowed) { in __pthread_kill()
1126 psignal_uthread(target_act, signum); in __pthread_kill()
1129 thread_deallocate(target_act); in __pthread_kill()