comp.lang.ada
 help / color / mirror / Atom feed
From: Jeffrey Carter <jeffrey.carter@boeing.com>
Subject: Re: Complexity of protected objects
Date: Fri, 1 Mar 2002 17:42:12 GMT
Date: 2002-03-01T17:42:12+00:00	[thread overview]
Message-ID: <3C7FBD74.D434411E@boeing.com> (raw)
In-Reply-To: 3c7e7c60.8192226@news.cis.dfn.de

Nick Roberts wrote:
> 
> On Mon, 25 Feb 2002 17:35:45 GMT, Jim Rogers
> <jimmaureenrogers@worldnet.att.net> 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



  parent reply	other threads:[~2002-03-01 17:42 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-25 16:28 Complexity of protected objects tony gair
2002-02-25 16:45 ` Marin David Condic
2002-03-03  1:11   ` Robert Dewar
2002-03-03  4:13     ` Dale Stanbrough
2002-03-03 19:50       ` Robert Dewar
2002-02-25 17:35 ` Jim Rogers
2002-02-28 22:09   ` Nick Roberts
2002-02-28 23:32     ` Dale Stanbrough
2002-03-01  5:45       ` Jim Rogers
2002-03-03  0:59       ` Robert Dewar
2002-03-01 17:42     ` Jeffrey Carter [this message]
2002-03-03  1:06       ` Robert Dewar
2002-03-03  6:53         ` Jeffrey Carter
2002-03-03 19:36           ` Robert Dewar
2002-03-04 20:04             ` Jeffrey Carter
2002-03-03  0:54     ` Robert Dewar
2002-03-03  0:32   ` Robert Dewar
2002-02-25 22:01 ` Ted Dennison
2002-03-03  1:08   ` Robert Dewar
2002-03-04  9:33     ` Dmitry A. Kazakov
2002-03-04 16:44       ` Ted Dennison
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox