Board index » cppbuilder » Thread Objects
Jorly Metzger
CBuilder Developer |
Thread Objects2004-05-10 09:58:38 PM cppbuilder105 After defining a borland thread object, you execute it creating an instance of it with the new operator. After the thread has finished processing is it necessary to call delete? From what I understand, by setting FreeOnTerminate to true inside the thread's constructor, this should take care of destroying the thread and deallocating any memory and thus making it unnecessary for me to call delete for the thread instance. Am I understanding correctly? Thanks in advance for any assistance you can offer. -Jorly |