IVANOVIC%VAXR@CIRCUS.LLNL.GOV ("Vladimir Ivanovic, x3-7786") (06/01/88)
With the TeleGen compiler, the program prints "we made it" then exits.
This does not seem correct to me. When I compile this with the Verdix
Ada compiler on our Vax, the program prints "==> DEADLOCK! <== No
tasks to run, no delays waiting." If I change the "or" marked with
"XXX" to an "else," the programs works "as expected" for both
compilers, i.e. it prints "can't accept yet" 9 times, then prints "we
made it" and exits.
The output of DEC's VAX Ada v1.4-33 under VMS is:
can't accept yet
can't accept yet
can't accept yet
can't accept yet
can't accept yet
can't accept yet
can't accept yet
can't accept yet
can't accept yet
can't accept yet
x>10
we made it
This was with the "or" marked with an "XXX" NOT changed to an "else". Note
that "can't accept yet" is printed 10 times, not 9 times.
-- Vladimir