Re: Questions about task_create
Re: Questions about task_create
- Subject: Re: Questions about task_create
- From: José Cornado <email@hidden>
- Date: Sat, 17 Dec 2011 00:31:23 -0700
Thanks!
I guess the article I was reading is dated.I have couple of other avenues I could use but out of curiosity: was this api replaced by another?
2011/12/17 comex
<email@hidden>2011/12/16 José Cornado <email@hidden>:
> If parent task has inherit none flag set.
>
> What happens when task_create is called? If it doesn't inherit any of the
> VM:
>
> is it created and suspended?
Nothing:
kern_return_t
task_create(
task_t parent_task,
__unused ledger_port_array_t ledger_ports,
__unused mach_msg_type_number_t num_ledger_ports,
__unused boolean_t inherit_memory,
__unused task_t *child_task) /* OUT */
{
if (parent_task == TASK_NULL)
return(KERN_INVALID_ARGUMENT);
/*
* No longer supported: too many calls assume that a task has a valid
* process attached.
*/
return(KERN_FAILURE);
}
--
José Cornado
--
home:
http://www.efekctive.comblog:
http://blogging.efekctive.com
----------------------
Everything has been said before, but since nobody listens we have to keep going back and beginning all over again.
Andre Gide
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden