Article View: borland.public.cppbuilder.nativeapi
Article #14911Re: aborting a function
From: Clayton Arends
Date: Sat, 26 Jul 2003 16:17
Date: Sat, 26 Jul 2003 16:17
15 lines
1683 bytes
1683 bytes
"Yahia El-Qasem" <Yahia.El-Qasem@mgh.metro-ag.de> wrote in message news:3f2264f0@newsgroups.borland.com... > - In the Timer just execute the next pending functor from the stack What you describe will work for managing the number of calls to talk_to_hardware but will not allow for an abort from an already executing call to talk_to_hardware. Since talk_to_hardware blocks the current thread (according to my understanding of the problem) then the application thread will not process the next button click until after talk_to_hardware has completed ... meaning the abort button click doesn't get processed in time to stop the current execution. - Clayton
Technical Details
Message-ID:
<3f22a977$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!news-out.visi.com!petbe.visi.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<3f21a974@newsgroups.borland.com> <3f2264f0@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-26 09:28:04 PST From: "Clayton Arends" <nospam_claytonarends@hotmail.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3f21a974@newsgroups.borland.com> <3f2264f0@newsgroups.borland.com> Subject: Re: aborting a function Date: Sat, 26 Jul 2003 09:17:08 -0700 Lines: 17 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: 24.30.128.202 Message-ID: <3f22a977$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1059236215 24.30.128.202 (26 Jul 2003 09:16:55 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!news-out.visi.com!petbe.visi.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail