delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/20/09:14:49

From: Esa A E Peuha <peuha AT sirppi DOT helsinki DOT fi>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Memory allocation - Help!?!
Date: 20 Aug 1999 12:56:43 +0300
Organization: University of Helsinki
Lines: 17
Message-ID: <86pzozm4vxg.fsf@sirppi.helsinki.fi>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 990818195409 DOT 10490q-100000 AT is>
NNTP-Posting-Host: sirppi.helsinki.fi
X-Trace: oravannahka.helsinki.fi 935143003 10780 128.214.205.27 (20 Aug 1999 09:56:43 GMT)
X-Complaints-To: usenet AT news DOT helsinki DOT fi
NNTP-Posting-Date: 20 Aug 1999 09:56:43 GMT
X-Newsreader: Gnus v5.6.43/Emacs 19.34
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> writes:

> On 18 Aug 1999, Keith McCormick wrote:

> > Also, should I manually free the physical_address_mapping or does to DJGPP
> > startup fragment do this at program termination?

> You should do it manually.  The startup/exit code only releases memory 
> and those resources that it itself allocated.

Strictly speaking, the DPMI host should free any physical address mappings
not freed by the client, but it's a good practise not to rely on that.

-- 
Esa Peuha
student of mathematics at the University of Helsinki
http://www.helsinki.fi/~peuha/

- Raw text -


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