comp.lang.ada
 help / color / mirror / Atom feed
From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: Task discriminants
Date: Fri, 21 May 2004 18:16:26 -0500
Date: 2004-05-21T18:16:26-05:00	[thread overview]
Message-ID: <qs2dndOX7I9aEDPdRVn-gw@megapath.net> (raw)
In-Reply-To: c8luk4$29b$1@hercules.btinternet.com

"Martin Dowie" <martin.dowie@btopenworld.com> wrote in message
news:c8luk4$29b$1@hercules.btinternet.com...
> "Randy Brukardt" <randy@rrsoftware.com> wrote in message
> news:YIadnaE4uYUXxjPd4p2dnA@megapath.net...
> > OTOH, it's fairly hard to imagine why an implementation would do
anything
> > other than use a loop to do it, which would of course give the right
> answer.
> > So practically, it probably would work right.
>
> Given this last statement, is it worth changing the RM to make this a
> Confirmation or Implementation Advice or some such?

Well, we'd need a compelling reason to make a change here, because it's
possible that some implementors do use this rule to some advantage. The only
time it matters is when you have side effects during elaboration, which is
generally discouraged anyway.

To solve the problem at hand, I'd suggest the technique that Robert Eachus
demonstrated. It doesn't depend on a majic function or order of evaluation.
Yes, it serializes the initialization of the tasks, but so does the
elaboration mechanism.

                      Randy.






  parent reply	other threads:[~2004-05-21 23:16 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-20 14:47 Task discriminants Dave Levy
2004-05-20 17:17 ` David C. Hoos
2004-05-20 18:37   ` Martin Dowie
2004-05-21  0:39     ` Georg Bauhaus
2004-05-21  1:04       ` Jeffrey Carter
2004-05-21  9:43     ` Phil Slater
2004-05-21 12:43       ` Martin Dowie
2004-05-21 19:42         ` Randy Brukardt
2004-05-21 22:05           ` Martin Dowie
     [not found]           ` <c8luk4$29b$1@hercules.btinternet.com>
2004-05-21 23:16             ` Randy Brukardt [this message]
2004-05-22  7:55               ` Martin Dowie
2004-05-24 21:34                 ` Randy Brukardt
2004-05-25  5:48                   ` Martin Dowie
2004-05-25 20:25                     ` Randy Brukardt
2004-05-25 22:40                       ` Martin Dowie
2004-05-20 17:30 ` Martin Krischik
2004-05-21  7:57   ` Dmitry A. Kazakov
2004-06-04 12:59     ` Andersen Jacob Sparre
2004-05-21 16:46   ` Robert I. Eachus
2004-05-22  7:54     ` Martin Dowie
2004-05-22 16:18     ` Pascal Obry
2004-05-24 21:36       ` Randy Brukardt
2004-05-25 21:22       ` Robert I. Eachus
2004-06-04 23:26 ` Nick Roberts
2004-06-07 22:12   ` Karen
replies disabled

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