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,385c146dd3112519 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!news.mixmin.net!news.tornevall.net!not-for-mail From: "Jeffrey R. Carter" Newsgroups: comp.lang.ada Subject: Re: Private or public task ? Date: Tue, 09 Feb 2010 17:01:34 -0700 Organization: TornevallNET - http://news.tornevall.net Message-ID: References: NNTP-Posting-Host: 6392d58337d9979b328fdd799221da87 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: b3a93f975d149bf419b290e3972aae05 X-Complaints-To: abuse@tornevall.net X-Complaints-Language: Spoken language is english or swedish - NOT ITALIAN, FRENCH, GERMAN OR ANY OTHER LANGUAGE! In-Reply-To: X-Validate-Post: http://news.tornevall.net/validate.php?trace=b3a93f975d149bf419b290e3972aae05 X-SpeedUI: 1738 X-Complaints-Italiano: Parlo la lingua non � italiano User-Agent: Thunderbird 2.0.0.23 (X11/20090817) X-Posting-User: 0243687135df8c4b260dd4a9a93c79bd Xref: g2news1.google.com comp.lang.ada:9060 Date: 2010-02-09T17:01:34-07:00 List-Id: mkasun@gmail.com wrote: > > Why do people insist that Ada.Text_IO.Put routines are potentially > blocking. > > From the ARM > > Discussion: {AI95-00178-01} Any subprogram in a language-defined input- > output package that has a file parameter or result or operates on a > default file is considered to manipulate a file. An instance of a > language-defined input-output generic package provides subprograms > that are covered by this rule. The only subprograms in language- > defined input-output packages not covered by this rule (and thus not > potentially blocking) are the Get and Put routines that take string > parameters defined in the packages nested in Text_IO. Probably because of ARM 9.5.1: "the subprograms of the language-defined input-output packages that manipulate files (implicitly or explicitly) are potentially blocking." -- Jeff Carter "My mind is aglow with whirling, transient nodes of thought, careening through a cosmic vapor of invention." Blazing Saddles 85