• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: pid_t from mach_port_t?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pid_t from mach_port_t?


  • Subject: Re: pid_t from mach_port_t?
  • From: Tomas Zahradnicky <email@hidden>
  • Date: Fri, 29 Sep 2006 08:52:27 +0200

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.

The only way I found was to use bootstrap_info and then sysctl with CTL_KERN/KERN_PROC/KERN_PROC_ALL and compare the results.

Tomas
--
# Ing. Tomas Zahradnicky, Jr.
# The Czech Technical University
# Dept of Computer Science, FEE-CTU Prague
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >pid_t from mach_port_t? (From: Tomas Zahradnicky <email@hidden>)
 >Re: pid_t from mach_port_t? (From: Dave Zarzycki <email@hidden>)

  • Prev by Date: Re: Bug in dyld
  • Next by Date: Re: pid_t from mach_port_t?
  • Previous by thread: Re: pid_t from mach_port_t?
  • Next by thread: Re: pid_t from mach_port_t?
  • Index(es):
    • Date
    • Thread