comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@gnat.com (Robert Dewar)
Subject: Re: Complexity of protected objects
Date: 3 Mar 2002 11:36:25 -0800
Date: 2002-03-03T19:36:25+00:00	[thread overview]
Message-ID: <5ee5b646.0203031136.5a77597a@posting.google.com> (raw)
In-Reply-To: 3C81C852.395A160A@acm.org

Jeffrey Carter <jrcarter@acm.org> wrote in message news:<3C81C852.395A160A@acm.org>...
> but as the start of the discussion
> referred to calling Ada.Text_IO operations from protected 
> operations, I
> didn't think the additional qualification was necessary.

But it did not do so! The first message in this thread
simply talked about reading and writing files, without
any hint of how it should be done.

The bottom line here is that if you want to do input output
from a protected object, you need to check with the details
of the implementation to see what will happen. It might be
just fine to use Text_IO (it would be in GNAT), or it might
be fine to use an interfaced C library routine, or perhaps
there is something specifically intended for this purpose.
Most certainly you are in implementation dependent territory here, but
that's not necessarily terrible at all.



  reply	other threads:[~2002-03-03 19:36 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
2002-03-03  1:06       ` Robert Dewar
2002-03-03  6:53         ` Jeffrey Carter
2002-03-03 19:36           ` Robert Dewar [this message]
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