From: "Warren W. Gay VE3WWG" <ve3wwg@cogeco.ca>
Subject: Re: Ada multi-threaded programs do not terminate under RedHat Linux
Date: Mon, 10 Nov 2003 12:47:16 -0500
Date: 2003-11-10T12:47:16-05:00 [thread overview]
Message-ID: <4aQrb.953$IK2.97672@news20.bellglobal.com> (raw)
In-Reply-To: <_eYqb.1684$6c3.3@newsread1.news.pas.earthlink.net>
Jeffrey Carter wrote:
> Ruben Stranders wrote:
>
>> I've compiled it under RedHat Linux 9.0 with "gnatmake test.adb".
>> Unfortunately, the resulting program doesn't terminate. Instead of the
>> expected output:
>>
>> Starting
>> Finished
>> Test
>>
>> it only prints the first two lines. The body of the procedure "test"
>> is never called. I've tried this with several other programs and on
>> different machines (all with RedHat 9.0). Can anyone give me a
>> pointer?
>
>
> Usually, under Unixes such as Linux, when people try to run a program
> called "test" nothing happens, since they're running a Unix utility
> rather than their program. But if you're getting some of the output from
> your program, I guess that's not the problem.
If in doubt, always do a ./test if the executable is in your
current directory (this is a good general practice anyway, to
avoid trojan horses). If the executable is in another directory,
then you can also invoke by pathname, starting from '/'. Without
qualifying the name of the executable, Jeffrey is right: you
usually end up invoking the shell test command (builtin, or
otherwise).
--
Warren W. Gay VE3WWG
http://home.cogeco.ca/~ve3wwg
next prev parent reply other threads:[~2003-11-10 17:47 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-07 20:28 Ada multi-threaded programs do not terminate under RedHat Linux Ruben Stranders
2003-11-07 21:45 ` Robert Spooner
2003-11-07 21:53 ` Jeff C,
2003-11-07 22:55 ` news.planet.nl
2003-11-08 2:08 ` Jeffrey Carter
2003-11-10 17:47 ` Warren W. Gay VE3WWG [this message]
[not found] ` <h8fu71-s53.ln1@beastie.ix.netcom.com>
2003-11-08 9:49 ` Ruben Stranders
[not found] ` <fhnv71-s24.ln1@beastie.ix.netcom.com>
2003-11-08 23:09 ` Ruben Stranders
2003-11-09 5:31 ` Adrian Hoe
2003-11-09 10:39 ` Ruben Stranders
2003-11-11 2:32 ` Adrian Hoe
2003-11-11 2:34 ` Adrian Hoe
2003-11-08 21:36 ` Patrice Freydiere
2003-11-10 9:29 ` Gerald Kasner
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox