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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,4dfbb9c23c9a83eb X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news.glorb.com!border1.nntp.dca.giganews.com!local01.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail NNTP-Posting-Date: Sun, 07 Aug 2005 09:11:19 -0500 Date: Sun, 07 Aug 2005 10:11:43 -0400 From: Jeff Creem User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Please, help me. References: <27c5ecc06ac6a213466ab65361d20376@localhost.talkaboutprogramming.com> <2db7e95053c018032e212a9f7c2c614d@localhost.talkaboutprogramming.com> <7c45f5545bccb1eee77f20551a24c8a6@localhost.talkaboutprogramming.com> In-Reply-To: <7c45f5545bccb1eee77f20551a24c8a6@localhost.talkaboutprogramming.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <97GdnZ2dnZ1c-rnynZ2dnRqLa9-dnZ2dRVn-y52dnZ0@comcast.com> NNTP-Posting-Host: 24.147.74.171 X-Trace: sv3-8ACpkmMCz8vcit2CwRFYSznPSNA/YJAKUezsM9HCtBZSgpWF72dv0Txpy61ohDg/RC1zqbKEy7fBWjC!DknIjx4InsXnb6zHT1DKQFUPdLGxnz/oOVlYkj6rglD6QH24NiCUks0MqDQo9PlNJo6UBsJ7Deml!wxUIqPFlr/N7asrrUs8uef1zcg== X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.32 Xref: g2news1.google.com comp.lang.ada:4015 Date: 2005-08-07T10:11:43-04:00 List-Id: Adaddict wrote: > I know this questions must seem stupid (I'm sure they really are), but I'm > getting desesperated because I'm not getting those ways of setting the > stack size to work. > > Sorry for being a nuisance. > > Regards. > I've always tried to find ways of avoiding having the main task require a large stack. On some OSs, there is no good way to do it at link time at all. Is there any way you can restructure your code so you don't need a large stack (e.g. If there is a set of large variables within the procedure blah is large variables begin end; then moving all of the large variables to a package spec that the procedure blah withs will reduce the stack space. If it is the sum of lots of littler things through the program then perhaps using the storage_size attribute on a new task that does all of the real work of the program (with the main thread just terminating) will work.