Re: performSelectorOnMainThread
Re: performSelectorOnMainThread
- Subject: Re: performSelectorOnMainThread
- From: Greg Sanborn <email@hidden>
- Date: Thu, 27 Oct 2005 21:42:16 -0700
You aren't, perhaps, sending performSelectorOnMainThread from the main
thread, are you?
Greg
On 10/26/05, Luc Vandal <email@hidden> wrote:
>
> Hi,
>
> I have a question regarding performSelectorOnMainThread. If I do:
>
> [myObject performSelectorOnMainThread:@selector(myFunction:)
> withObject:nil waitUntilDone:YES], does that mean that myFunction
> from myObject will be executed?
>
> If so, I tried that and the app will just hang on
> performSelectorOnMainThread. My function will never get called. If I
> set waitUntilDone:NO, then my function will eventually get called. Is
> it a problem with my secondary thread?
>
> I'm confused..
>
> Luc
> _______________________________________________
> 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
>
_______________________________________________
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