Searched refs:threads_for_task (Results 1 – 2 of 2) sorted by relevance
825 thread_act_port_array_t threads_for_task; in SuspendThreads() local828 if (task_threads(mach_task_self(), &threads_for_task, &thread_count)) in SuspendThreads()833 if (threads_for_task[i] != mach_thread_self()) { in SuspendThreads()834 if (thread_suspend(threads_for_task[i])) in SuspendThreads()843 thread_act_port_array_t threads_for_task; in ResumeThreads() local846 if (task_threads(mach_task_self(), &threads_for_task, &thread_count)) in ResumeThreads()851 if (threads_for_task[i] != mach_thread_self()) { in ResumeThreads()852 if (thread_resume(threads_for_task[i])) in ResumeThreads()
991 thread_act_port_array_t threads_for_task; in WriteThreadListStream() local995 if (task_threads(crashing_task_, &threads_for_task, &thread_count)) in WriteThreadListStream()1018 if (threads_for_task[i] != handler_thread_) { in WriteThreadListStream()1019 if (!WriteThreadStream(threads_for_task[i], &thread)) in WriteThreadListStream()