Article View: borland.public.cppbuilder.nativeapi
Article #14888Re: aborting a function
From: Robert L. Smith
Date: Tue, 29 Jul 2003 19:51
Date: Tue, 29 Jul 2003 19:51
18 lines
1609 bytes
1609 bytes
Thanks, Clayton, for the informative posts. And thanks to everyone else who
responded. One more question,
In this function
void __fastcall TForm1::TalkBtnClick(TObject *Sender)
{
fTalkHardwareThread->AddCallToQueue( );
}
I need TalkBtnClick to wait for the value returned by talk_to_hardware
before TalkBtnClick returns. Or how do I "wait for" the thread to execute
and "return" while simultaenously monitoring the abort button and allowing
other TalkBtnClick's to fire?
Thanks again,
Robert L. Smith
Technical Details
Message-ID:
<3f26d058@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-05!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3f21a974@newsgroups.borland.com> <3f2232db$1@newsgroups.borland.com> <3f22abaf$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,cb957e45a585bf2c X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-07-29 13:10:35 PST From: "Robert L. Smith" <bsmithOMIT@cinSPAMele.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3f21a974@newsgroups.borland.com> <3f2232db$1@newsgroups.borland.com> <3f22abaf$1@newsgroups.borland.com> Subject: Re: aborting a function Date: Tue, 29 Jul 2003 15:51:50 -0400 Lines: 20 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: 66.117.195.80 Message-ID: <3f26d058@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1059508312 66.117.195.80 (29 Jul 2003 12:51:52 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-05!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail