From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: requeue with abort and timed call
Date: Mon, 5 Jan 2009 21:47:37 +0100
Date: 2009-01-05T21:47:41+01:00 [thread overview]
Message-ID: <gopizvy97acl.9z90wdsqgv8x.dlg@40tude.net> (raw)
In-Reply-To: y3u8l.456458$TT4.322120@attbi_s22
On Mon, 05 Jan 2009 20:28:14 GMT, Jeffrey R. Carter wrote:
> Dmitry A. Kazakov wrote:
>>
>> There is an easy way out. They could say that GNAT's Ada.Text_IO.Put_Line
>> is not potentially blocking.
>
> No, the ARM specifies that all the operations of the language-defined I/O pkgs
> are potentially blocking.
RM only says "In particular, the subprograms of the language-defined
input-output packages that manipulate files (implicitly or explicitly) are
potentially blocking." 9.5.1 (18). If Put_Line does not manipulate files,
then it is OK. "file" is not defined anyway.
>> Here they are in violation. Since they detected a delay statement within a
>> protected action, they should have raised Protected_Error.
>
> I think the ARM gives the implementation the right to decide whether or not to
> raise an exception if it detects the problem.
But RM 9.5.1 (17) is specific "If the bounded error is detected,
Program_Error is raised." No permission given to ignore it.
--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
next prev parent reply other threads:[~2009-01-05 20:47 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-28 13:24 requeue with abort and timed call ishikawa
2008-12-28 14:30 ` Dmitry A. Kazakov
2008-12-28 15:53 ` christoph.grein
2008-12-28 16:09 ` christoph.grein
2008-12-28 17:46 ` ishikawa
2008-12-29 10:23 ` christoph.grein
2008-12-29 10:55 ` Dmitry A. Kazakov
2008-12-29 11:17 ` christoph.grein
2008-12-29 12:27 ` Dmitry A. Kazakov
2008-12-28 17:16 ` Dmitry A. Kazakov
2008-12-28 21:42 ` Robert A Duff
2008-12-29 10:42 ` Jean-Pierre Rosen
2008-12-29 21:05 ` sjw
2008-12-30 9:25 ` Jean-Pierre Rosen
2008-12-30 13:18 ` christoph.grein
2008-12-30 15:39 ` Jean-Pierre Rosen
2008-12-30 17:01 ` christoph.grein
2008-12-30 17:16 ` ishikawa
2008-12-30 15:54 ` ishikawa
2008-12-30 21:33 ` sjw
2008-12-30 22:52 ` Robert A Duff
2008-12-31 9:21 ` Jean-Pierre Rosen
2008-12-31 15:39 ` christoph.grein
2008-12-31 16:14 ` Jean-Pierre Rosen
2009-01-03 16:49 ` ishikawa
2009-01-03 21:09 ` Jeffrey R. Carter
2009-01-04 15:40 ` christoph.grein
2009-01-04 17:09 ` Jeffrey R. Carter
2009-01-04 18:03 ` ishikawa
2009-01-04 18:56 ` Dmitry A. Kazakov
2009-01-04 23:17 ` belteshazzar
2009-01-05 9:12 ` Dmitry A. Kazakov
2009-01-05 2:48 ` Jeffrey R. Carter
2009-01-05 9:30 ` Dmitry A. Kazakov
2009-01-05 20:28 ` Jeffrey R. Carter
2009-01-05 20:47 ` Dmitry A. Kazakov [this message]
2009-01-06 2:35 ` Jeffrey R. Carter
2009-01-05 10:17 ` Jean-Pierre Rosen
2008-12-28 15:53 ` sjw
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox