U++ framework
Do not panic. Ask here before giving up.

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: Thu Sep 10 14:05:05 GMT+2 2026

Total time taken to generate the page: 0.03261 seconds