Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Main Thread UI and Detached Thread




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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

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>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.