X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/743b15655a24ee3fe9f458f383003e011db0558f..13fec9890cf095cc781fdf7b8917cb03bf32dd4c:/osfmk/man/task_threads.html diff --git a/osfmk/man/task_threads.html b/osfmk/man/task_threads.html index 7321c1a30..4dec84bd2 100755 --- a/osfmk/man/task_threads.html +++ b/osfmk/man/task_threads.html @@ -1 +1,46 @@ -

task_threads


Function - Return the target task's list of threads.

SYNOPSIS

kern_return_t   task_threads
                (task_t                                    task,
                 thread_act_port_array_t            thread_list,
                 mach_msg_type_number_t*           thread_count);

PARAMETERS

task
[in task send right] The port for the task for which the thread list is to be returned.

thread_list
[out pointer to dynamic array of thread send rights] The returned list of threads within task, in no particular order.

thread_count
[out scalar] The returned count of threads in thread_list.

DESCRIPTION

The task_threads function returns a list of the threads within task. The calling task or thread also receives a send right to the kernel port for each listed thread.

RETURN VALUES

Only generic errors apply.

RELATED INFORMATION

Functions: thread_create, thread_terminate, thread_suspend. \ No newline at end of file +

task_threads

+
+

+Function - Return the target task's list of threads. +

SYNOPSIS

+
+kern_return_t   task_threads
+                (task_t                                    task,
+                 thread_act_port_array_t            thread_list,
+                 mach_msg_type_number_t*           thread_count);
+
+

PARAMETERS

+
+

+

task +
+[in task send right] +The port for the task for which the thread list is to +be returned. +

+

thread_list +
+[out pointer to dynamic array of thread send rights] +The returned list of +threads within task, in no particular order. +

+

thread_count +
+[out scalar] +The returned count of threads in thread_list. +
+

DESCRIPTION

+

+The task_threads function returns a list of the threads +within task. The calling +task or thread also receives a send right to the kernel port +for each listed thread. +

RETURN VALUES

+

+Only generic errors apply. +

RELATED INFORMATION

+

+Functions: +thread_create, +thread_terminate, +thread_suspend.