comp.lang.ada
 help / color / mirror / Atom feed
From: dennison@telepath.com
Subject: Re: Streams and Concurrency
Date: 1998/12/31
Date: 1998-12-31T00:00:00+00:00	[thread overview]
Message-ID: <76gdst$2e3$1@nnrp1.dejanews.com> (raw)
In-Reply-To: 76g9ds$ura$1@nnrp1.dejanews.com

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1412 bytes --]

In article <76g9ds$ura$1@nnrp1.dejanews.com>,
  dewar@gnat.com wrote:
> In article <76fe92$46c$1@platane.wanadoo.fr>,
>   "Jean-Pierre Rosen" <rosen.adalog@wanadoo.fr> wrote:
> >
> > James S. Rogers a �crit dans le message
> > <76dn7b$a35@bgtnsc03.worldnet.att.net>...
> > >Following is a modest example of what I mean about
> > >encapsulating a stream in a protected object.
> > >[snip]
> >
> > Unfortunately, all IO operations are potentially
> > blocking, and therefore not allowed from within a
> > protected operation.
> > To get the effect of mutual exclusion for procedures
> > requiring potentially blocking operations, have a look at
> > package Protection available from Adalog's components
> > page (http://perso.wanadoo.fr/adalog/compo2.htm)
>
> By the way, JPR here seems to be making the mistake of
> assuming that stream = stream_io, a common confusion. The
> original question here related to a particular
> implementation of streams that you have not seen, and you
> do not know if it does any potentially blocking operations.

Quite true. What started all this is that I was trying to use streams as a
typless buffer between two tasks. One of these tasks is Real-Time, and *can't*
wait for another task or I/O (thus the buffer).

--
T.E.D.

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




  reply	other threads:[~1998-12-31  0:00 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-12-30  0:00 Streams and Concurrency James S. Rogers
1998-12-29  0:00 ` David Botton
1998-12-30  0:00   ` dennison
1998-12-30  0:00     ` Tucker Taft
1998-12-30  0:00       ` Robert I. Eachus
1998-12-30  0:00         ` Tucker Taft
1998-12-31  0:00         ` dennison
1998-12-31  0:00           ` robert_dewar
1998-12-31  0:00             ` dennison
1999-01-01  0:00               ` robert_dewar
1999-01-04  0:00           ` Robert I. Eachus
1998-12-30  0:00       ` dennison
1998-12-31  0:00         ` robert_dewar
1998-12-30  0:00   ` James S. Rogers
1998-12-30  0:00     ` dennison
1998-12-30  0:00       ` James S. Rogers
1999-01-04  0:00       ` Robert I. Eachus
1998-12-31  0:00     ` Jean-Pierre Rosen
1998-12-31  0:00       ` dewar
1998-12-31  0:00         ` Ada-G, was " Tom Moran
1999-01-01  0:00           ` dewar
1999-01-01  0:00             ` Larry Kilgallen
1999-01-01  0:00           ` Brian Rogoff
1999-01-04  0:00             ` Robert I. Eachus
1999-01-08  0:00               ` Mats Weber
1999-01-08  0:00                 ` Robert I. Eachus
1999-01-08  0:00         ` Mats Weber
1999-01-08  0:00           ` Tucker Taft
1998-12-31  0:00       ` dewar
1998-12-31  0:00         ` dennison [this message]
1999-01-04  0:00         ` Jean-Pierre Rosen
1999-01-04  0:00           ` robert_dewar
1998-12-30  0:00 ` dennison
1998-12-30  0:00   ` Robert I. Eachus
1999-01-11  0:00   ` Bulk synchronous model for IO (was Re: Streams and Concurrency) Kevin Rigotti
replies disabled

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