🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Doubt about TThread

#2432
From: Eduardo Jauch
Date: Fri, 02 Mar 2007 21:00
18 lines
1288 bytes
Hi!

I have a litle doubt about TThread...

I'd like to make my Main thread notice that an other thread ended.
How can I do this?

I see about using TEvent... But seens that my MainThread must verify 
periodicaly the signal... There's another way?
I'd like something like this:

app starts thread and continue.
when thread terminate, send a message (like OnClick of the mouse)


There some way to do this?

Thanks! :)
Technical Details
Message-ID: <45e8904c@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,bec31395e1415a05,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Fri, 02 Mar 2007 18:00:08 -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: Doubt about TThread
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 200.181.173.129
Message-ID: <45e8904c@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1172869196 200.181.173.129 (2 Mar 2007 12:59:56 -0800)
Lines: 18
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail