Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pid_t from mach_port_t?




On Sep 30, 2006, at 1:59 PM, Tomas Zahradnicky wrote:

At 9:58 +0100 9/29/06, Finlay Dobbie wrote:
On 29/09/06, Tomas Zahradnicky <email@hidden> wrote:
>Not really. What are you really trying to do? Even if you could
easily answer this question, the result would be subject to race
conditions.

I wanted to get a pid_t of a process registered with the boostrap server.

That doesn't really answer Dave's question.

:)

What is your goal? What do
you need the pid_t for? There may be another way to accomplish what
you want to do.

I wanted to get the pid_t to be able to get ProcessSerialNumber (PSN) and then CGSConnectionID. I should probably switch to Process Manager and get the PSN directly.

That still doesn't answer the question. Please "unwind the stack" all the way to the beginning. :-P



PS: I would rather not be doing what I am doing with CGS but I really have no choice.

Inquiring minds want to know what that is...

davez
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.