From: IVANOVIC%VAXR@CIRCUS.LLNL.GOV ("Vladimir Ivanovic, x3-7786")
Subject: Re: TeleGen compiler question (was "PL/1 a dead language?")
Date: 31 May 88 20:50:00 GMT [thread overview]
Message-ID: <8805312044.AA13055@ajpo.sei.cmu.edu> (raw)
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
reply other threads:[~1988-05-31 20:50 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox