From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,bc90e355ba0a1f8f X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-11-07 18:08:58 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!elnk-pas-nf1!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread1.news.pas.earthlink.net.POSTED!a6202946!not-for-mail From: Jeffrey Carter Organization: jrcarter commercial-at acm [period | full stop] org User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Ada multi-threaded programs do not terminate under RedHat Linux References: <43f0a81.0311071228.6620c6c2@posting.google.com> In-Reply-To: <43f0a81.0311071228.6620c6c2@posting.google.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <_eYqb.1684$6c3.3@newsread1.news.pas.earthlink.net> Date: Sat, 08 Nov 2003 02:08:58 GMT NNTP-Posting-Host: 63.184.33.214 X-Complaints-To: abuse@earthlink.net X-Trace: newsread1.news.pas.earthlink.net 1068257338 63.184.33.214 (Fri, 07 Nov 2003 18:08:58 PST) NNTP-Posting-Date: Fri, 07 Nov 2003 18:08:58 PST Xref: archiver1.google.com comp.lang.ada:2246 Date: 2003-11-08T02:08:58+00:00 List-Id: 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. There has been some discussion here in the past about problems with tasking with the GNAT being distributed with some versions of Linux. You might try a Google search. -- Jeff Carter "Why don't you bore a hole in yourself and let the sap run out?" Horse Feathers 49