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.
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.