🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #2434

Re: Doubt about TThread

#2434
From: Eduardo Jauch
Date: Fri, 02 Mar 2007 22:47
21 lines
1488 bytes
Remy Lebeau (TeamB) escreveu:
> "Eduardo Jauch" <eduardo.jauch@gmail.com> wrote in message
> news:45e8904c@newsgroups.borland.com...
> 
>> I'd like to make my Main thread notice that an other
>> thread ended. How can I do this?
> 
> TThread has an OnTerminate event that is run in the context of the
> main thread.  Simply assign an event handler to it.
> 
> 
> Gambit
> 
> 

Cool... :)

Sorry for the question, but how do I do this?
Can you show an exemple? (or point to one?)

Thanks! :)
Technical Details
Message-ID: <45e8a963@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news3.google.com!newsfeed2.dallas1.level3.net!news.level3.com!panix!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <45e8904c@newsgroups.borland.com> <45e89d1e@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,bec31395e1415a05
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Fri, 02 Mar 2007 19:47:18 -0300
From: Eduardo Jauch <eduardo.jauch@gmail.com>
User-Agent: Thunderbird 1.5.0.10 (Windows/20070221)
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Doubt about TThread
References: <45e8904c@newsgroups.borland.com> <45e89d1e@newsgroups.borland.com>
In-Reply-To: <45e89d1e@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 200.181.173.129
Message-ID: <45e8a963@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1172875619 200.181.173.129 (2 Mar 2007 14:46:59 -0800)
Lines: 21
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news3.google.com!newsfeed2.dallas1.level3.net!news.level3.com!panix!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail