Article View: borland.public.cppbuilder.nativeapi
Article #2489Re: Thread termination
From: Clayton Arends
Date: Sun, 25 Feb 2007 16:32
Date: Sun, 25 Feb 2007 16:32
16 lines
1525 bytes
1525 bytes
> To free any allocated resources dynamic allocated in my thread, how must I > do? You free them like any other resource or memory allocation. You can free them in the destructor, at the end of your Execute() method, using smart pointers, etc. > By using the OnTerminate (will be the read or the write?) I'm not sure what you mean by this. If this doesn't answer your question then can you elaborate on your exact problem? Please include an example using code or psuedocode to make your issue clearer. - Clayton
Technical Details
Message-ID:
<45e1b9d7$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news1.google.com!news.maxwell.syr.edu!newsfeed.icl.net!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<45e1a169@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,994413e24e6be7d6 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Clayton Arends" <nospam_claytonarends@hotmail.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <45e1a169@newsgroups.borland.com> Subject: Re: Thread termination Date: Sun, 25 Feb 2007 08:32:19 -0800 Lines: 18 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3028 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-RFC2646: Format=Flowed; Response NNTP-Posting-Host: 71.93.4.10 Message-ID: <45e1b9d7$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1172421079 71.93.4.10 (25 Feb 2007 08:31:19 -0800) Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news1.google.com!news.maxwell.syr.edu!newsfeed.icl.net!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail