Skip navigation.
 
mlRe: Main Thread UI and Detached Thread
FROM : j o a r
DATE : Mon Mar 31 22:02:10 2008

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

Related mailsAuthorDate
mlMain Thread UI and Detached Thread Mike Mar 30, 20:55
mlRe: Main Thread UI and Detached Thread j o a r Mar 31, 18:36
mlRe: Main Thread UI and Detached Thread Hank Heijink (Mail… Mar 31, 18:48
mlRe: Main Thread UI and Detached Thread Mike Mar 31, 20:02
mlRe: Main Thread UI and Detached Thread Mike Mar 31, 20:06
mlRE: Main Thread UI and Detached Thread Andy Klepack Mar 31, 20:10
mlRe: Main Thread UI and Detached Thread j o a r Mar 31, 20:11
mlRe: Main Thread UI and Detached Thread Hank Heijink (Mail… Mar 31, 20:26
mlRe: Main Thread UI and Detached Thread Matt Mashyna Mar 31, 20:30
mlRe: Main Thread UI and Detached Thread Mike Mar 31, 21:15
mlRe: Main Thread UI and Detached Thread Mike Mar 31, 21:20
mlRe: Main Thread UI and Detached Thread Mike Mar 31, 21:25
mlRe: Main Thread UI and Detached Thread Mike Mar 31, 21:28
mlRe: Main Thread UI and Detached Thread j o a r Mar 31, 21:47
mlRe: Main Thread UI and Detached Thread j o a r Mar 31, 22:02
mlRe: Main Thread UI and Detached Thread Ken Victor Mar 31, 22:23
mlRe: Main Thread UI and Detached Thread Mike Apr 4, 09:06
mlRe: Main Thread UI and Detached Thread Mike Apr 4, 09:08
mlRe: Main Thread UI and Detached Thread j o a r Apr 4, 09:24
mlRe: Main Thread UI and Detached Thread Scott Ribe Apr 4, 16:12
mlRe: Main Thread UI and Detached Thread Shawn Erickson Apr 4, 22:29