Skip navigation.
 
mlRe: NSApp with wrong _running count
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.

Related mailsAuthorDate
mlNSApp with wrong _running count Micha Fuhrmann May 20, 13:07
mlRe: NSApp with wrong _running count Andrew Farmer May 20, 13:30
mlRe: NSApp with wrong _running count Micha Fuhrmann May 20, 13:51
mlRE: NSApp with wrong _running count <Rajendran_Pichaim… May 20, 14:30
mlRe: NSApp with wrong _running count Nick Zitzmann May 20, 16:56
mlRe: NSApp with wrong _running count Michael Vannorsdel May 20, 20:10
mlRe: NSApp with wrong _running count Chris Hanson May 21, 00:25
mlRe: NSApp with wrong _running count Andrew Farmer May 21, 00:40