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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,af960bc705aaf51b X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-03-01 09:56:12 PST Newsgroups: comp.lang.ada Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!news-hub.siol.net!zur.uu.net!ash.uu.net!xyzzy!nntp From: Jeffrey Carter Subject: Re: Complexity of protected objects X-Nntp-Posting-Host: e246420.msc.az.boeing.com Content-Type: text/plain; charset=us-ascii Message-ID: <3C7FBD74.D434411E@boeing.com> Sender: nntp@news.boeing.com (Boeing NNTP News Access) Content-Transfer-Encoding: 7bit Organization: The Boeing Company X-Accept-Language: en References: <3C7A75F2.30503@worldnet.att.net> <3c7e7c60.8192226@news.cis.dfn.de> Mime-Version: 1.0 Date: Fri, 1 Mar 2002 17:42:12 GMT X-Mailer: Mozilla 4.73 [en]C-CCK-MCD Boeing Kit (WinNT; U) Xref: archiver1.google.com comp.lang.ada:20660 Date: 2002-03-01T17:42:12+00:00 List-Id: Nick Roberts wrote: > > On Mon, 25 Feb 2002 17:35:45 GMT, Jim Rogers > strongly typed: > > >Using a protected object to read and write files is a clear > >violation of the intention and recommendations for proctected > >objects. Protected objects should be non-blocking. I/O is > >always potentially blocking. > > It's perhaps a little sweeping to say "I/O is always potentially blocking". > There may be certain rare cases where this is not so. But it will certainly > always be so for reading or writing files, in practice. ARM 9.5.1 says Certain language-defined subprograms are potentially blocking. In particular, the subprograms of the language-defined input-output packages that manipulate files (implicitly or explicitly) are potentially blocking. Thus, I/O as always potentially blocking because the language defines it as such. -- Jeffrey Carter