Lines Matching refs:target_act
923 thread_act_t target_act; in __pthread_markcancel() local
927 target_act = (thread_act_t)port_name_to_thread(uap->thread_port, in __pthread_markcancel()
930 if (target_act == THR_ACT_NULL) { in __pthread_markcancel()
934 uth = (struct uthread *)get_bsdthread_info(target_act); in __pthread_markcancel()
940 thread_abort_safely(target_act); in __pthread_markcancel()
944 thread_deallocate(target_act); in __pthread_markcancel()
1189 thread_t target_act; in __pthread_kill() local
1194 target_act = (thread_t)port_name_to_thread(uap->thread_port, in __pthread_kill()
1197 if (target_act == THREAD_NULL) { in __pthread_kill()
1205 uth = (struct uthread *)get_bsdthread_info(target_act); in __pthread_kill()
1212 if ((thread_get_tag(target_act) & THREAD_TAG_WORKQUEUE) && !uth->uu_workq_pthread_kill_allowed) { in __pthread_kill()
1218 psignal_uthread(target_act, signum); in __pthread_kill()
1221 thread_deallocate(target_act); in __pthread_kill()