comp.lang.ada
 help / color / mirror / Atom feed
From: dennison@telepath.com
Subject: Re: Ada.Streams examples
Date: 1999/03/10
Date: 1999-03-10T00:00:00+00:00	[thread overview]
Message-ID: <7c6q9p$g28$1@nnrp1.dejanews.com> (raw)
In-Reply-To: 36E6C291.F97766CB@Boeing.com

In article <36E6C291.F97766CB@Boeing.com>,
  Rex Reges <Rex.R.Reges@Boeing.com> wrote:

> I would like to use Streams to create a similar package to Stream_IO, but
write
> to a memory object. If I have a "storage container", how can I fill it with
> objects of varying types? How would I use Streams to do this?
>

I can probably give some advice here, as I have just written code to do that.
But first, I'll need requirements clarification. IAW: How do you want to use
it?

Does it need to support concurrent 'Writes from multiple tasks? Does it need
to support concurrent 'Writes with 'Reads?

Should it act just like a file, where written items start at the first
element and continue filling up the available space until it is exhausted? Or
should it act like a circular buffer where 'Read's will free up space that
may be used for later 'Writes?


T.E.D.

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    




  reply	other threads:[~1999-03-10  0:00 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-03-10  0:00 Ada.Streams examples Tom Moran
1999-03-10  0:00 ` dennison
1999-03-10  0:00   ` Rex Reges
1999-03-10  0:00     ` dennison [this message]
     [not found]       ` <36E7036B.EADEEA80@Boeing.com>
1999-03-11  0:00         ` dennison
1999-03-10  0:00   ` Tom Moran
1999-03-10  0:00     ` dennison
1999-03-10  0:00       ` Tom Moran
1999-03-11  0:00         ` dennison
1999-03-17  0:00           ` Tom Moran
1999-03-11  0:00     ` Richard D Riehle
1999-03-11  0:00       ` Steve Quinlan
1999-03-11  0:00         ` Richard D Riehle
1999-03-11  0:00           ` Steve Quinlan
1999-03-12  0:00             ` Richard D Riehle
1999-03-10  0:00 ` Steve Quinlan
replies disabled

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