Re: performSelectorOnMainThread
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