comp.lang.ada
 help / color / mirror / Atom feed
From: Adam Beneschan <adam@irvine.com>
Subject: Re: Interresting difference in Normal-Returns/Expression-Functions and Extended-Returns.
Date: Wed, 24 Apr 2013 07:40:28 -0700 (PDT)
Date: 2013-04-24T07:40:28-07:00	[thread overview]
Message-ID: <bf4c2d13-d06c-4992-b85e-57975f6f9e46@googlegroups.com> (raw)
In-Reply-To: <8131b9f6-c5ff-4b28-a2ae-599f4dcdda50@googlegroups.com>

On Tuesday, April 23, 2013 10:56:46 PM UTC-7, egilhh wrote:

> Well, I don't get this. I was trying to point out that without a 2 sec delay, 
> there's a risk of running multiple tests in parallel. I don't know about you,
> but to me that's a bad thing, even if it's not production code. 

When one writes code whose only purpose is to demonstrate a possible compiler problem, or ask a question about why the language is the way it is, one does not try to write good code.  So what's the point of pointing out the flaws in his code?

The fact that the output of tests got mixed up isn't related to the symptom the OP was talking about.  His symptom pertained only to the order in which one of the tests generated its own output.

On the other hand, it's interesting to me that the output of the tests is getting mixed up, because that's the behavior I'd expect if the compiler was determining task masters correctly.  Simon, if I understood correctly, seemed to get a result where the output of the tests was *not* mixed up and a block was waiting for its tasks to terminate before the program moved on to the next test.  That would indicate a compiler bug of some sort, if I understand the language rules properly.  Interesting.

                           -- Adam





  reply	other threads:[~2013-04-24 14:40 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-22 18:27 Interresting difference in Normal-Returns/Expression-Functions and Extended-Returns Shark8
2013-04-22 19:13 ` Dmitry A. Kazakov
2013-04-22 20:11   ` Shark8
2013-04-23  6:15     ` Simon Wright
2013-04-23  7:35     ` Stephen Leake
2013-04-23  8:58     ` Dmitry A. Kazakov
2013-05-02  2:20     ` Randy Brukardt
2013-05-02  4:41       ` Shark8
2013-04-23  6:32 ` egilhh
2013-04-23 15:24   ` Adam Beneschan
2013-04-24  5:56     ` egilhh
2013-04-24 14:40       ` Adam Beneschan [this message]
2013-04-25  5:30         ` egilhh
2013-04-25  5:41           ` Shark8
2013-04-23 16:00 ` Adam Beneschan
2013-04-23 16:52   ` Simon Wright
2013-04-23 17:57     ` Adam Beneschan
2013-04-25  8:48       ` egilhh
2013-04-25 15:19         ` Adam Beneschan
2013-05-02  2:33         ` Randy Brukardt
2013-05-02  2:38       ` Randy Brukardt
2013-05-02 16:15         ` Adam Beneschan
2013-05-02 22:00           ` Randy Brukardt
2013-05-03  1:11         ` Adam Beneschan
2013-05-03  5:34           ` Simon Wright
2013-05-03  6:43           ` egilhh
2013-05-03 16:49             ` Adam Beneschan
2013-05-03 23:09           ` Randy Brukardt
2013-04-23 23:00     ` Shark8
2013-04-23 23:16       ` Adam Beneschan
2013-05-02  2:28   ` Randy Brukardt
2013-05-02 16:37     ` Adam Beneschan
2013-04-23 16:33 ` Simon Wright
replies disabled

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