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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,bd6afd90718a4783 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!volia.net!news2.volia.net!news.ntu-kpi.kiev.ua!news.uran.net.ua!news.uar.net!news.nask.pl!news.nask.org.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail From: Wiktor Moskwa Newsgroups: comp.lang.ada Subject: Re: GNAT and large number of threads Date: Fri, 27 Apr 2007 14:52:33 +0000 (UTC) Organization: tp.internet - http://www.tpi.pl/ Message-ID: References: NNTP-Posting-Host: abol138.neoplus.adsl.tpnet.pl X-Trace: nemesis.news.tpi.pl 1177685553 29871 83.8.27.138 (27 Apr 2007 14:52:33 GMT) X-Complaints-To: usenet@tpi.pl NNTP-Posting-Date: Fri, 27 Apr 2007 14:52:33 +0000 (UTC) User-Agent: slrn/0.9.8.1pl1 (Debian) Xref: g2news1.google.com comp.lang.ada:15355 Date: 2007-04-27T14:52:33+00:00 List-Id: On 27.04.2007, Jeffrey R. Carter wrote: > Wiktor Moskwa wrote: >> I'm using GNAT GPL 2006 on Linux x86. >> Recently I had a problem with creating large number of tasks(*) in my >> Ada program. I create tasks in a loop and when I reach the limit of >> stack address space the main thread freezes - no exceptions, nothing. > > Are you compiling with -fstack-check? > > Note that without -gnato -fstack-check, GNAT is not Ada. > Yes and additionaly with -gnatf -gnatwa. -- Wiktor Moskwa