View Single Post
  #9 (permalink)  
Old April 22nd, 2007, 01:50 PM
jwebb jwebb is offline
Registered User
 
Join Date: Apr 2007
Location: , , .
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Peter,

New thoughts on the same application. The threading is working well for me now, except...

I would like the secondary thread to stop operating while the main thread has been invoked to update GUI controls. Ordinarily this would be done with the .join() method, correct? If I understand that method definition properly, the thread using the .join method halts until the target thread of the join method terminates. But in reality, the main thread doesn't terminate until the application terminates, right? So is it impossible to .join the gui thread? Or more simply, how can I halt the secondary thread until the main thread has finished updating the GUI. Also, sample syntax if you can.

As always, your help (and anyone else's, of course) would be invaluable.

Jason