comp.lang.ada
 help / color / mirror / Atom feed
From: Robert A Duff <bobduff@world.std.com>
Subject: Re: Concurrency & I/O
Date: Mon, 9 Jul 2001 17:28:22 GMT
Date: 2001-07-09T17:28:22+00:00	[thread overview]
Message-ID: <wccpubaggg9.fsf@world.std.com> (raw)
In-Reply-To: t4KZ6.134905$qv3.39151261@nnrp5-w.sbc.net

"Ed Colbert" <colbert@abssw.com> writes:

> Can someone confirm that it's still implementation defined whether I/O
> operations (Put, Get, 'Write, 'Read) are atomic, blocking, or subject to
> Priority_Ceiling.  In quick review of the manual & rational, I found the
> following:

I don't fully understand the question.
I/O operations are "potentially blocking".
I/O operations that can't be done immediately may block the whole
process, or just the current task (this is implementation dependent).

'Write and 'Read are not I/O operations -- they just call the underlying
stream operations, and the underlying stream might or might not do I/O,
and might or might not block.

None of these things are atomic.  If you have two tasks simultaneously
writing to standard output, that's erroneous (although you might
get away with it, with interspersed output).

- Bob



      reply	other threads:[~2001-07-09 17:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-25 16:57 Concurrency & I/O Ed Colbert
2001-07-09 17:28 ` Robert A Duff [this message]
replies disabled

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