delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/07/25/06:00:39

From: ams AT ludd DOT luth DOT se (Martin Str|mberg)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Fixed stack size?
Date: 25 Jul 1999 08:38:51 GMT
Organization: University of Lulea, Sweden
Message-ID: <7neier$1mh$6@news.luth.se>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 990725112908 DOT 27488R AT is>
NNTP-Posting-Host: queeg.ludd.luth.se
X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]
Lines: 18
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Eli Zaretskii (eliz AT is DOT elta DOT co DOT il) wrote:
: 
: On 23 Jul 1999, Martin Str|mberg wrote:
: 
: > Why is the stack size fixed? Can't it be allocated dynamically?
: 
: I'm not sure I understand all the subtle aspects of this, but one
: problem is that the stack sits between .bss and the heap, so
: expanding it would require to move the heap around.  (The heap clearly
: requires expanding, so it's placed last.)

Ah... But why isn't it placed as high as possible so it can grow down
(as it usually does in Un*x)?


Kokkonen, Sinfonia da camera,

							MartinS

- Raw text -


  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019