• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
RE: NSApp with wrong _running count
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: NSApp with wrong _running count


  • Subject: RE: NSApp with wrong _running count
  • From: <email@hidden>
  • Date: Tue, 20 May 2008 18:00:06 +0530
  • Thread-topic: NSApp with wrong _running count

Hi
  never call nsrunalert from a thread which is not main thread,use
performselectoronmain and call a function which uses nsrunalertpanel.


-----Original Message-----
From:
cocoa-dev-bounces+rajendran_pichaimurthy=email@hidden
[mailto:cocoa-dev-bounces+rajendran_pichaimurthy=email@hidden.
com] On Behalf Of Micha Fuhrmann
Sent: Tuesday, May 20, 2008 5:22 PM
To: Andrew Farmer
Cc: Cocoa-Dev List
Subject: Re: NSApp with wrong _running count

Andrew,

many thanks, now, what else can I use that's thread safe for that
matter?

Michael
On 20 mai 08, at 13:30, Andrew Farmer wrote:

> On 20 May 08, at 04:07, Micha Fuhrmann wrote:
>> 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.
> <...>
>> Thread 3:
>> 8   com.apple.AppKit              	0x93eeb2fd NSRunAlertPanel + 6
>
> I'm pretty sure NSRunAlertPanel isn't thread-safe.

_______________________________________________

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:
40mcafee.com

This email sent to email@hidden
_______________________________________________

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

References: 
 >Re: NSApp with wrong _running count (From: Micha Fuhrmann <email@hidden>)

  • Prev by Date: Re: Localization and plural rules revisited
  • Next by Date: Re: Initialize a subclass object with a base class object
  • Previous by thread: Re: NSApp with wrong _running count
  • Next by thread: Re: NSApp with wrong _running count
  • Index(es):
    • Date
    • Thread