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.68.219.170 with SMTP id pp10mr3236684pbc.1.1339698575134; Thu, 14 Jun 2012 11:29:35 -0700 (PDT) Path: l9ni50753pbj.0!nntp.google.com!news2.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:29:34 -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 1339698574 31299 192.74.137.71 (14 Jun 2012 18:29:34 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Thu, 14 Jun 2012 18:29:34 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:vwY0F5Wury/UUR23Y3hyCIkSeN0= Content-Type: text/plain; charset=us-ascii Date: 2012-06-14T14:29:34-04:00 List-Id: "Dmitry A. Kazakov" writes: > It would be nice if the exception would propagate in the task's master, but > that is impossible without a rendezvous or asynchronous control transfer on > the master's side. Probably the best default behavior would be to stop the program with an error message, just like what happens for an unhandled exception in the main program. If you don't like that, you would program something else. But as a default behavior, silently dropping exceptions on the floor is a wrong language design. - Bob