• 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: Parallel instances of Cocoa apps?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Parallel instances of Cocoa apps?


  • Subject: Re: Parallel instances of Cocoa apps?
  • From: John Stiles <email@hidden>
  • Date: Fri, 14 Sep 2007 08:59:16 -0700

On Sep 14, 2007, at 8:10 AM, Jonathan Hendry wrote:


A potential problem is overlap of Mach identifiers.

I just went into Terminal, and started a second instance of Terminal, and here are the messages I received:

jonh:~ jon$ /Applications/Utilities/Terminal.app/Contents/MacOS/ Terminal &
[1] 3952
jonh:~ jon$ 2007-09-14 11:08:01.596 Terminal[3952] CFLog (0): CFMessagePort: bootstrap_register(): failed 1103 (0x44f), port = 0x2c03, name = 'com.apple.Terminal.ServiceProvider'
See /usr/include/servers/bootstrap_defs.h for the error codes.
2007-09-14 11:08:01.598 Terminal[3952] CFLog (99): CFMessagePortCreateLocal(): failed to name Mach port (com.apple.Terminal.ServiceProvider)


Presumably, you'd want some way of making sure that instances use unique Mach port ids.

I don't believe there's any sort of mechanism for that, though. It's just a limitation of the OS, which was not really designed around multiple instances of the same app running at once.


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Cocoa, iTunes, AppleScript - performance issue (From: Steve Cronin <email@hidden>)
 >SOLVED: Cocoa, iTunes, AppleScript - performance issue BUT a Question arises (From: Steve Cronin <email@hidden>)
 >Parallel instances of Cocoa apps? (From: Jay Reynolds Freeman <email@hidden>)
 >Re: Parallel instances of Cocoa apps? (From: John Stiles <email@hidden>)
 >Re: Parallel instances of Cocoa apps? (From: Jay Reynolds Freeman <email@hidden>)
 >Re: Parallel instances of Cocoa apps? (From: "Clark Cox" <email@hidden>)
 >Re: Parallel instances of Cocoa apps? (From: "Shawn Erickson" <email@hidden>)
 >Re: Parallel instances of Cocoa apps? (From: "Clark Cox" <email@hidden>)
 >Re: Parallel instances of Cocoa apps? (From: "Shawn Erickson" <email@hidden>)
 >Re: Parallel instances of Cocoa apps? (From: Jonathan Hendry <email@hidden>)

  • Prev by Date: Re: Pages document
  • Next by Date: Re: Pages document
  • Previous by thread: Re: Parallel instances of Cocoa apps?
  • Next by thread: Re: Cocoa, iTunes, AppleScript - performance issue
  • Index(es):
    • Date
    • Thread