• 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: 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

  • Follow-Ups:
    • Re: performSelectorOnMainThread
      • From: j o a r <email@hidden>
References: 
 >performSelectorOnMainThread (From: Luc Vandal <email@hidden>)

  • Prev by Date: Re: App behaves differently when run in Xcode
  • Next by Date: NSToolbar overflow menu updating problems
  • Previous by thread: Re: performSelectorOnMainThread
  • Next by thread: Re: performSelectorOnMainThread
  • Index(es):
    • Date
    • Thread