task_set_info.html   [plain text]

<strong>Function</strong> - Set task-specific information state.

<strong>kern_return_t   task_set_info</strong>
                <strong>(task_t</strong>                             <var>target_task</var>,
                 <strong>task_flavor_t</strong>                           <var>flavor</var>,
                 <strong>task_info_t</strong>                          <var>task_info</var><strong>);</strong>
<dt> <var>target_task</var> 
The task whose information is to be set.
<dt> <var>flavor</var> 
Specifies the type of information to be set.  Currently the interface
supports the setting of a single flavor:
<dt> <var>task_info</var> 
Specifies the information to be set.
The <strong>task_set_info</strong> interface provides the caller with
the means to set the target task's <var>user_data</var> field. This
field may be used to specify arbitrarily task-specific data.
Currently, this interface is used exclusively to provide freshly
colocated user tasks with the short-circuited RPC glue vector.
Only generic values apply.