1*e13b1fa5SApple OSS Distributions<H2>task_set_info</h2> 2*e13b1fa5SApple OSS Distributions<hr> 3*e13b1fa5SApple OSS Distributions<p> 4*e13b1fa5SApple OSS Distributions<strong>Function</strong> - Set task-specific information state. 5*e13b1fa5SApple OSS Distributions<h3>SYNOPSIS</h3> 6*e13b1fa5SApple OSS Distributions<pre> 7*e13b1fa5SApple OSS Distributions<strong>#include<task_info.h></strong> 8*e13b1fa5SApple OSS Distributions 9*e13b1fa5SApple OSS Distributions<strong>kern_return_t task_set_info</strong> 10*e13b1fa5SApple OSS Distributions <strong>(task_t</strong> <var>target_task</var>, 11*e13b1fa5SApple OSS Distributions <strong>task_flavor_t</strong> <var>flavor</var>, 12*e13b1fa5SApple OSS Distributions <strong>task_info_t</strong> <var>task_info</var><strong>);</strong> 13*e13b1fa5SApple OSS Distributions</pre> 14*e13b1fa5SApple OSS Distributions<h3>PARAMETERS</h3> 15*e13b1fa5SApple OSS Distributions<dl> 16*e13b1fa5SApple OSS Distributions<p> 17*e13b1fa5SApple OSS Distributions<dt> <var>target_task</var> 18*e13b1fa5SApple OSS Distributions<dd> 19*e13b1fa5SApple OSS DistributionsThe task whose information is to be set. 20*e13b1fa5SApple OSS Distributions<p> 21*e13b1fa5SApple OSS Distributions<dt> <var>flavor</var> 22*e13b1fa5SApple OSS Distributions<dd> 23*e13b1fa5SApple OSS DistributionsSpecifies the type of information to be set. Currently the interface 24*e13b1fa5SApple OSS Distributionssupports the setting of a single flavor: 25*e13b1fa5SApple OSS Distributions<strong>TASK_USER_DATA</strong>. 26*e13b1fa5SApple OSS Distributions<p> 27*e13b1fa5SApple OSS Distributions<dt> <var>task_info</var> 28*e13b1fa5SApple OSS Distributions<dd> 29*e13b1fa5SApple OSS DistributionsSpecifies the information to be set. 30*e13b1fa5SApple OSS Distributions</dl> 31*e13b1fa5SApple OSS Distributions<h3>DESCRIPTION</h3> 32*e13b1fa5SApple OSS Distributions<p> 33*e13b1fa5SApple OSS DistributionsThe <strong>task_set_info</strong> interface provides the caller with 34*e13b1fa5SApple OSS Distributionsthe means to set the target task's <var>user_data</var> field. This 35*e13b1fa5SApple OSS Distributionsfield may be used to specify arbitrarily task-specific data. 36*e13b1fa5SApple OSS Distributions<h3>NOTES</h3> 37*e13b1fa5SApple OSS Distributions<p> 38*e13b1fa5SApple OSS DistributionsCurrently, this interface is used exclusively to provide freshly 39*e13b1fa5SApple OSS Distributionscolocated user tasks with the short-circuited RPC glue vector. 40*e13b1fa5SApple OSS Distributions<h3>RETURN VALUES</h3> 41*e13b1fa5SApple OSS Distributions<p> 42*e13b1fa5SApple OSS DistributionsOnly generic values apply. 43*e13b1fa5SApple OSS Distributions<h3>RELATED INFORMATION</h3> 44*e13b1fa5SApple OSS Distributions<p> 45