From: Martin Dowie <martin.dowie@baesystems.com>
Subject: Re: Tasking differences
Date: 2000/07/12
Date: 2000-07-12T00:00:00+00:00 [thread overview]
Message-ID: <396C504F.EF3F332A@baesystems.com> (raw)
In-Reply-To: 8kgk79$khp$1@nnrp1.deja.com
i should have been clearer - yes the output is non-deterministic, but the
outcome that wasn't 'expected' was that it hangs when attempting a second
'select ... else' - the non-deterministic output was entirely expected!
on removal of timer variables, pragma priorities and most text_io, except from
the 'stop' subprogram that is called by the main program, we still see the same
'hanging'/'non-hanging' differences.
the best guess so far is that there is a bug in the behaviour of 'select ...
else' statements and delays (thanks pete).
Robert Dewar wrote:
>
> In article <396AECA4.30B03835@baesystems.com>,
> Martin Dowie <martin.dowie@baesystems.com> wrote:
> > sorry, but I can't see why there should be any difference in
> *results* of the
> > two - if they were so different, why does GNAT produce the
> same results for both
> > versions? I understand that the scheduling of the 2 tasks can
> change given the
> > differences, but in this case I don't see why that should
> affect the outcome.
>
> Running code locked instead of unlocked makes a big difference
> in the set of possible outcomes, the fact that with one
> particular scheduling discipline you see no differences proves
> nothing about the possible non-deterministic set of outcomes!
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
--
The views expressed here are personnal and not those of BAE Systems.
prev parent reply other threads:[~2000-07-12 0:00 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <3969B65A.46942054@baesystems.com>
[not found] ` <uk8etc788.fsf@baesystems.com>
[not found] ` <8kff0n$nnu$1@nnrp1.deja.com>
2000-07-12 0:00 ` Tasking differences Robert Dewar
2000-07-12 0:00 ` Ted Dennison
2000-07-12 0:00 ` Robert Dewar
2000-07-12 0:00 ` Larry Kilgallen
2000-07-12 0:00 ` Robert Dewar
2000-07-13 0:00 ` Larry Kilgallen
2000-07-13 0:00 ` Robert Dewar
[not found] ` <8ke8ao$rs3$1@nnrp1.deja.com>
[not found] ` <396AECA4.30B03835@baesystems.com>
2000-07-12 0:00 ` Robert Dewar
2000-07-12 0:00 ` Martin Dowie [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