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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,534dd301375921ac X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.204.152.217 with SMTP id h25mr443632bkw.3.1339698887632; Thu, 14 Jun 2012 11:34:47 -0700 (PDT) Path: e27ni48242bkw.0!nntp.google.com!news2.google.com!news1.google.com!newsfeed2.dallas1.level3.net!news.level3.com!bloom-beacon.mit.edu!newsswitch.lcs.mit.edu!nntp.TheWorld.com!.POSTED!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: Is Text_IO.Put_Line() thread-safe? Date: Thu, 14 Jun 2012 14:34:46 -0400 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <93201f1a-d668-485e-83b4-492bc283f36e@googlegroups.com> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 X-Trace: pcls6.std.com 1339698886 31299 192.74.137.71 (14 Jun 2012 18:34:46 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Thu, 14 Jun 2012 18:34:46 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:hawCfVl9LQoOFogPP/FWzf+BvK0= Content-Type: text/plain; charset=us-ascii Date: 2012-06-14T14:34:46-04:00 List-Id: "J-P. Rosen" writes: > Asynchronous raising of exceptions was in preliminary Ada, the issue was > studied, and removed for Ada 83. Not really. It was renamed to be "abort". The semantics of "abort" in Ada 83 are essentially the same as the semantics of T'Failure in preliminary Ada. In all Ada implementations I have worked on (which is a lot), abort is implemented internally via a special exception that is invisible to user code. In any case, it doesn't make sense for a single task to be raising two exceptions at the same time, so that must be prevented. Likewise simultaneously aborting and raising an exception. - Bob