Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » MultiThreads and GLCtrl
Re: MultiThreads and GLCtrl [message #28809 is a reply to message #28806] Fri, 17 September 2010 17:38 Go to previous messageGo to previous message
mrjt is currently offline  mrjt
Messages: 705
Registered: March 2007
Location: London
Contributor
For one thing you aren't actually checking for stop in thrPerso.

The more fundamental problem is that calling Wait on a thread with GuiLock on it from the Gui thread won't work. The Gui thread is waiting for the thread to finish while the thread is waiting for the GUI thread to finish (or go idle). Therefor you get a lock.

I would suggest running a timer callback that checks for thread completion or something.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: TreeCtrl: How to...?
Next Topic: LoadFromFile, StoreToFile and Serialize
Goto Forum:
  


Current Time: Thu Oct 31 23:58:35 CET 2024

Total time taken to generate the page: 0.01343 seconds