Re: Parallel instances of Cocoa apps?
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