🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: TThread

#13766
From: Remy Lebeau (TeamB)
Date: Fri, 12 Sep 2003 00:32
26 lines
2013 bytes
"Andy" <andyholcomb@comcast.net> wrote in message
news:3f60e4dc$1@newsgroups.borland.com...

> I seam to have a working thread, but my program seams to
> be waiting for the completion of the thread before it goes on.
> I can't even move my form.

What you describe would happen if the main VCL thread did something that is
waiting for the thread but the thread is not doing what it is supposed to be
doing, thus blocking the main VCL thread from continuing so it can't process
new messages anymore.

What does your actual button code look like that is resetting the values and
stopping the thread?  Are you calling TThread::WaitFor() at all?  What does
your thread code look like?  Is the thread checking its Terminated property
periodically and returning from Execute() id set to true?


Gambit


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.515 / Virus Database: 313 - Release Date: 9/1/03
Technical Details
Message-ID: <3f6114aa$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3f60e4dc$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,b3bd84980f619f6
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-09-11 17:39:25 PST
From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3f60e4dc$1@newsgroups.borland.com>
Subject: Re: TThread
Date: Thu, 11 Sep 2003 17:32:17 -0700
Lines: 28
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 207.175.226.26
Message-ID: <3f6114aa$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1063326890 207.175.226.26 (11 Sep 2003 17:34:50 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail