• 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: Mike <email@hidden>
  • Date: Fri, 04 Apr 2008 00:06:28 -0700

Well ok, let me rephrase that - I'm doing nothing *else* on my main thread except executing the two update methods when the worker thread asks the main thread to perform them.

j o a r wrote:

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


  • Prev by Date: Using WSDL based stubs in the carbon/cocoa application.
  • Next by Date: Re: Main Thread UI and Detached Thread
  • Previous by thread: Using WSDL based stubs in the carbon/cocoa application.
  • Next by thread: Re: Main Thread UI and Detached Thread
  • Index(es):
    • Date
    • Thread