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++ Core » multithread access to the same control
Re: multithread access to the same control [message #767 is a reply to message #763] Wed, 01 February 2006 00:11 Go to previous messageGo to previous message
hojtsy is currently offline  hojtsy
Messages: 241
Registered: January 2006
Location: Budapest, Hungary
Experienced Member
I have a question about the Thread object.
Suppose that every time a button is pressed, I would like to start a new worker thread which terminates after a processing task is finished by it.
void onButton()
{
  Thread t;
  t.Run( THISBACK(ProcessingFunction) );
}
Will the destructor of the Thread object terminate the thread? If yes, then I need dynamic allocation of Thread, but I won't know when to release that memory.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: regex (assembly) from boost
Next Topic: storing my struct in a Value
Goto Forum:
  


Current Time: Mon Aug 18 00:28:46 CEST 2025

Total time taken to generate the page: 0.05356 seconds