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 » U++ Library support » U++ MT-multithreading and servers » How to update main thread UI when runing other thread
Re: How to update main thread UI when runing other thread [message #24970 is a reply to message #24964] Sat, 06 February 2010 14:24 Go to previous messageGo to previous message
jiuzhi is currently offline  jiuzhi
Messages: 10
Registered: October 2009
Promising Member
In U++, I use the following method

void task_thread(){
  create and run task thread1
  create and run task thread2
  ..........
  
  create and run waiting thread
}
void wait_thread(){
  while (!result) Sleep(100);
  ...........
}

it is cumbersome,There is more trouble when local variables
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [SOLVED] File upload example
Next Topic: File upload to https [SOLVED]
Goto Forum:
  


Current Time: Sat May 11 13:37:22 CEST 2024

Total time taken to generate the page: 0.02345 seconds