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,10c4b1e7e98e6a93 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-05-16 23:57:47 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.vmunix.org!newsfeed01.sul.t-online.de!t-online.de!news.belwue.de!cert.uni-stuttgart.de!news.enyo.de!not-for-mail From: Florian Weimer Newsgroups: comp.lang.ada Subject: Re: Problems with Ada.Real_Time on GNAT? Date: Fri, 17 May 2002 08:57:45 +0200 Organization: Enyo -- not your organization Message-ID: <873cwr45xy.fsf@deneb.enyo.de> References: <28d8936a.0205161133.3c9064b7@posting.google.com> <87k7q3c0di.fsf@deneb.enyo.de> NNTP-Posting-Host: deneb.enyo.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: cygnus.enyo.de 1021618666 30370 212.9.189.171 (17 May 2002 06:57:46 GMT) X-Complaints-To: abuse@enyo.de NNTP-Posting-Date: 17 May 2002 06:57:46 GMT Cancel-Lock: sha1:GPFNm90OPGwqbPkFTRmWyIpZ42g= Xref: archiver1.google.com comp.lang.ada:24250 Date: 2002-05-17T06:57:46+00:00 List-Id: "David C. Hoos" writes: >> You are hitting the 2 MB stack size limit. You should allocate the >> large array using an allocator. > > With all due respect, I submit that the problem is _not_ the stack > limit, but, Well, the program does run if you follow my advice. > rather the fact that to use the real-time annex, one must compile > and link with the FSU threads run-time, instead of the Linux-native > threads run-time. Why do you think this is necessary? It's certainly unneeded if you want to use just the timing facilities from Ada.Real_Time. (It's true that the FSU threads run-time library implements more requirements of the real-time annex at the moment, but you'll never reach full conformance on top of ordinary Linux anyway.)