• 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: Main Thread UI and Detached Thread
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Main Thread UI and Detached Thread


  • Subject: Re: Main Thread UI and Detached Thread
  • From: j o a r <email@hidden>
  • Date: Mon, 31 Mar 2008 13:02:10 -0700


On Mar 31, 2008, at 12:25 PM, Mike wrote:
I am doing nothing in the main run loop when th worker thread fires. The main thread is doing nothing but idling


This is not true, as you call to the main thread for display updates.



On Mar 31, 2008, at 12:28 PM, Mike wrote:
But my question is: why should I have to?
The docs say run all the UI on the main thread and notify the main thread from within the worker thread when the UI needs updating.


That should indeed be enough.

I think that you need to either post more code, or preferably a sample project that exhibits this problem, for us to be able to help you figure out what's wrong.


j o a r


_______________________________________________

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: 
 >Main Thread UI and Detached Thread (From: Mike <email@hidden>)
 >Re: Main Thread UI and Detached Thread (From: "Hank Heijink (Mailinglists)" <email@hidden>)
 >Re: Main Thread UI and Detached Thread (From: Mike <email@hidden>)
 >Re: Main Thread UI and Detached Thread (From: "Hank Heijink (Mailinglists)" <email@hidden>)
 >Re: Main Thread UI and Detached Thread (From: Mike <email@hidden>)

  • Prev by Date: Re: libpq prepared statement
  • Next by Date: Re: Threads and Core Data, bindings results in view corruption
  • Previous by thread: Re: Main Thread UI and Detached Thread
  • Next by thread: Re: Main Thread UI and Detached Thread
  • Index(es):
    • Date
    • Thread