From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,126ce244c524526b X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!news.glorb.com!newsfeed.kamp.net!newsfeed.kamp.net!newsfeed.freenet.de!bolzen.all.de!newsfeed.ision.net!newsfeed2.easynews.net!ision!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: Tasking issues Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: <1186851804.567302.223160@q4g2000prc.googlegroups.com> Date: Sun, 12 Aug 2007 11:43:55 +0200 Message-ID: NNTP-Posting-Date: 12 Aug 2007 11:43:47 CEST NNTP-Posting-Host: 203be16b.newsspool4.arcor-online.net X-Trace: DXC=2MSJecgIQ:jg`45cDR8l?o4IUK On Sun, 12 Aug 2007 09:00:27 GMT, anon wrote: > -- abort tasks. But because get_name may be in the process of > -- obtaining data from standard_input. it may require a CR/LF > -- to be entered to fully abort the 'get_name' task. No, it should abort Get_Line immediately. The operations deferring abort are listed in 9.8(5). > abort get_name ; Aborting tasks is a bad idea, almost always. If you have some shared objects which states might be changed outside an abort-deferred operation, then aborting will corrupt them. It is not always possible to do everything from a protected action (which is abort-deferred). Though asynchronous transfer of control is very much like abort, one can limit the scope of what gets aborted. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de