Re: pid to mach task
Re: pid to mach task
- Subject: Re: pid to mach task
- From: Mike Smith <email@hidden>
- Date: Tue, 1 Nov 2005 11:01:48 -0800
Assuming that you're doing it for the current process, current_task()
should do what you're after.
If not, then ones' spider-senses start tingling, and wonder whether
you are prepared to deal with the reference counting implications
that go along with holding a task/pid reference...
= Mike
On Nov 1, 2005, at 10:38 AM, Mathew, Ashok wrote:
Does anyone know, how to obtain the mach task id from the pid from
within a kernel extension ?
Thanks in advance for any pointers ...
-Ashok
_______________________________________________
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
_______________________________________________
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