FROM : Michael Vannorsdel
DATE : Tue May 20 20:10:58 2008
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.
DATE : Tue May 20 20:10:58 2008
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.
| Related mails | Author | Date |
|---|---|---|
| Micha Fuhrmann | May 20, 13:07 | |
| Andrew Farmer | May 20, 13:30 | |
| Micha Fuhrmann | May 20, 13:51 | |
| <Rajendran_Pichaim… | May 20, 14:30 | |
| Nick Zitzmann | May 20, 16:56 | |
| Michael Vannorsdel | May 20, 20:10 | |
| Chris Hanson | May 21, 00:25 | |
| Andrew Farmer | May 21, 00:40 |






Cocoa mail archive

