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: a07f3367d7,534dd301375921ac X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.204.149.210 with SMTP id u18mr407384bkv.1.1339694048570; Thu, 14 Jun 2012 10:14:08 -0700 (PDT) Path: e27ni48015bkw.0!nntp.google.com!news1.google.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: Adam Beneschan Newsgroups: comp.lang.ada Subject: Re: Is Text_IO.Put_Line() thread-safe? Date: Thu, 14 Jun 2012 07:35:10 -0700 (PDT) Organization: http://groups.google.com Message-ID: <772d0bc7-72f2-4b68-bb42-f9c515c9f842@googlegroups.com> References: <93201f1a-d668-485e-83b4-492bc283f36e@googlegroups.com> NNTP-Posting-Host: 66.126.103.122 Mime-Version: 1.0 X-Trace: posting.google.com 1339684511 9954 127.0.0.1 (14 Jun 2012 14:35:11 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 14 Jun 2012 14:35:11 +0000 (UTC) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=66.126.103.122; posting-account=duW0ogkAAABjRdnxgLGXDfna0Gc6XqmQ User-Agent: G2/1.0 Content-Type: text/plain; charset=ISO-8859-1 Date: 2012-06-14T07:35:10-07:00 List-Id: On Thursday, June 14, 2012 6:49:45 AM UTC-7, Robert A Duff wrote: > It's a good idea to put an exception handler at the bottom of every > task body, and do some debugging output there. Otherwise, an > exception will cause the task to silently vanish. This is a > language design flaw. Starting with Ada 2005, you can also use Ada.Task_Termination.Set_Dependents_Fallback_Handler in your main program. (See RM C.7.3.) Probably you should do both. -- Adam