• 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: performSelectorOnMainThread
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: performSelectorOnMainThread


  • Subject: Re: performSelectorOnMainThread
  • From: j o a r <email@hidden>
  • Date: Wed, 26 Oct 2005 23:05:13 +0200


On 26 okt 2005, at 17.56, Joseph Kelly wrote:

You can tell what your main thread is doing by running the Sampler application which ships with CHUD tools. If your main thread is blocked (i.e. waiting on an NSLock that's being held by the secondary thread), your app will become deadlocked.

If you're doing this, make sure to use the "all thread states" sampling mode, or you will not see the locked threads in the sample report.


If you're deadlocked, like Luc seems to think, it's probably easier to just attach with GDB and look at the backtrace right there and then.

j o a r


Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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

References: 
 >performSelectorOnMainThread (From: Luc Vandal <email@hidden>)
 >Re: performSelectorOnMainThread (From: j o a r <email@hidden>)
 >Re: performSelectorOnMainThread (From: Joseph Kelly <email@hidden>)

  • Prev by Date: Accessor macros used by GNUstep but not Cocoa?
  • Next by Date: Getting a list of all the applications available on the harddrive
  • Previous by thread: Re: performSelectorOnMainThread
  • Next by thread: Re: performSelectorOnMainThread
  • Index(es):
    • Date
    • Thread