From: Adam Beneschan <adambeneschan@gmail.com>
Subject: Re: Asynchronous Transfer of Control
Date: Thu, 10 Apr 2014 10:36:01 -0700 (PDT)
Date: 2014-04-10T10:36:01-07:00 [thread overview]
Message-ID: <827fab32-89b4-4dbd-a074-6cd86e6195f0@googlegroups.com> (raw)
In-Reply-To: <b00eabf3-5933-4c43-a75f-7137cd3fb95d@googlegroups.com>
On Thursday, April 10, 2014 8:15:53 AM UTC-7, I wrote:
> I/O operations like Get_Line aren't abort completion points. It seems reasonable that an implementation *should* provide for an I/O operation to be aborted if it could be forced to wait (e.g. input from the console, waiting for a socket connect, etc.). But the RM doesn't require it.
One thing I didn't notice is that 9.8(15) says:
"If the execution of a construct is aborted at a time when the execution is blocked, other than for an entry call, at a point that is outside the execution of an abort-deferred operation, then the execution of the construct completes immediately."
I'm still not convinced that applies here. In an informal sense, a task that is waiting for the user to press a key could be said to be "blocked". However, 9(10) discusses the different states a task goes through: "A task is initially inactive; upon activation, and prior to its termination it is either blocked (as part of some task interaction) or ready to run." A task that is stopped because it's waiting for user input is not stopped "as part of some task interaction", so I don't think it's formally "blocked".
-- Adam
next prev parent reply other threads:[~2014-04-10 17:36 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-10 10:41 Asynchronous Transfer of Control AdaMagica
2014-04-10 14:43 ` Dmitry A. Kazakov
2014-04-10 15:15 ` Adam Beneschan
2014-04-10 17:36 ` Adam Beneschan [this message]
2014-04-10 22:49 ` Randy Brukardt
2014-04-10 23:16 ` Adam Beneschan
2014-04-10 18:44 ` AdaMagica
2014-04-10 19:07 ` sbelmont700
-- strict thread matches above, loose matches on Subject: below --
1996-10-16 0:00 James Squire
1996-10-16 0:00 ` Robert Dewar
1996-10-23 0:00 ` James Squire
1996-10-23 0:00 ` Robert Dewar
1996-10-17 0:00 ` Tucker Taft
1996-10-17 0:00 ` Robert A Duff
1996-10-18 0:00 ` Ken Cowan
1996-10-18 0:00 ` Robert A Duff
1996-10-19 0:00 ` Robert Dewar
1996-10-21 0:00 ` Philip Brashear
1996-10-17 0:00 ` Latest /= Greatest (was: Asynchronous Transfer of Control) Larry Kilgallen
1996-10-22 0:00 ` Asynchronous Transfer of Control Dale Stanbrough
1996-10-21 0:00 ` Robert Dewar
1996-10-21 0:00 ` Larry Kilgallen
1996-10-26 0:00 ` Robert Dewar
1996-10-22 0:00 ` Norman H. Cohen
1996-10-21 0:00 ` Pascal Ledru
1996-10-22 0:00 ` Jon S Anthony
1996-10-23 0:00 ` James Squire
1996-10-23 0:00 ` Robert Dewar
1996-10-29 0:00 ` m193884
1996-10-29 0:00 ` Robert Dewar
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox