Searched refs:threads_for_task (Results 1 – 2 of 2) sorted by relevance
820 thread_act_port_array_t threads_for_task; in SuspendThreads() local823 if (task_threads(mach_task_self(), &threads_for_task, &thread_count)) in SuspendThreads()828 if (threads_for_task[i] != mach_thread_self()) { in SuspendThreads()829 if (thread_suspend(threads_for_task[i])) in SuspendThreads()838 thread_act_port_array_t threads_for_task; in ResumeThreads() local841 if (task_threads(mach_task_self(), &threads_for_task, &thread_count)) in ResumeThreads()846 if (threads_for_task[i] != mach_thread_self()) { in ResumeThreads()847 if (thread_resume(threads_for_task[i])) in ResumeThreads()
971 thread_act_port_array_t threads_for_task; in WriteThreadListStream() local975 if (task_threads(crashing_task_, &threads_for_task, &thread_count)) in WriteThreadListStream()998 if (threads_for_task[i] != handler_thread_) { in WriteThreadListStream()999 if (!WriteThreadStream(threads_for_task[i], &thread)) in WriteThreadListStream()