Re: NSApp with wrong _running count
Re: NSApp with wrong _running count
- Subject: Re: NSApp with wrong _running count
- From: Michael Vannorsdel <email@hidden>
- Date: Tue, 20 May 2008 12:10:58 -0600
When you mention running count, are you keeping an int or something to
keep track of thread progress? If so remember to use atomic
operations to update the count from multiple threads to prevent data
corruption. As for NSAlert, a general rule is not to interact with
the UI from any threads other than the main. Use
performSelectorOnMainThread: to forward messages to the main thread.
On May 20, 2008, at 5:07 AM, Micha Fuhrmann wrote:
Hi everyone,
some users are reporting a crash at start. From the logs it seems
that the sys is recognizing multiple running of the app, but from
there I have no clue as to how to remedy.
Any help greatly appreciated.
_______________________________________________
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