Article View: borland.public.cppbuilder.nativeapi
Article #15911Re: Equiv of MS __leave
From: Tom Woodrow
Date: Sat, 07 Jun 2003 06:38
Date: Sat, 07 Jun 2003 06:38
29 lines
1863 bytes
1863 bytes
Read several places that goto is not good as an intermediate an exit to an exception block. I quote from http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclang98/html/_clang_the_try.2d.finally_statement.asp "Although a goto statement can be used to accomplish the same result, a goto statement causes stack unwinding. The __leave statement is more efficient because it does not involve stack unwinding." Thanks Tom Woodrow Bob Gonder wrote: > Tom Woodrow <tomwoodrow@attbi.com> wrote: > > >>What is the equivalent of __leave as in: >> >>support.microsoft.com/default.aspx?scid=kb;EN-US;q175030 ) >> >>under BCB5. > > > Looks like "goto" is the equiv. > > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclang98/html/_clang_the_try.2d.finally_statement.asp > >
Technical Details
Message-ID:
<3EE18869.6000308@attbi.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<3EE1510E.7040106@attbi.com> <t7s2evkfpe24b2a96epqq58c8pqbh3ab1o@4ax.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,c64e790b86ecffd X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-06-06 23:42:58 PST Message-ID: <3EE18869.6000308@attbi.com> Date: Fri, 06 Jun 2003 23:38:33 -0700 From: Tom Woodrow <tomwoodrow@attbi.com> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Equiv of MS __leave References: <3EE1510E.7040106@attbi.com> <t7s2evkfpe24b2a96epqq58c8pqbh3ab1o@4ax.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 12.234.53.246 X-Trace: newsgroups.borland.com 1054967912 12.234.53.246 (6 Jun 2003 23:38:32 -0700) Lines: 30 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail