Re: Re: Writing application without Interface Builder
Re: Re: Writing application without Interface Builder
- Subject: Re: Re: Writing application without Interface Builder
- From: "Corey O'Connor" <email@hidden>
- Date: Fri, 21 Jul 2006 19:29:23 -0700
On 7/21/06, Patrick Hartling <email@hidden> wrote:
Unfortunately, if I remove the call to NSApplicationLoad() or move it to be
after the [NSApplication sharedApplication] call, my multi-threading code
stops working.
What aspect of your multi-threading code stops working?
As I recall, in order to get Cocoa to play nice with multi-threading
you have to start at least one NSThread to put Application Kit in a
"thread aware" mode. Is it possible NSApplicationLoad() is starting an
NSThread but none of your code is starting any NSThreads?
--
-Corey O'Connor
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden