www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/08/12/06:03:49

Date: Mon, 12 Aug 1996 12:58:34 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Thomas Demmer <demmer AT LSTM DOT Ruhr-UNI-Bochum DOT De>
Cc: djgpp AT delorie DOT com
Subject: Re: Freeing and not freeing Windoze memory
In-Reply-To: <320EE6EF.41C6@LSTM.Ruhr-UNI-Bochum.De>
Message-Id: <Pine.SUN.3.91.960812125631.27060E-100000@is>
Mime-Version: 1.0

On Mon, 12 Aug 1996, Thomas Demmer wrote:

> > It is the same under any operating system.  When a program exits, all its
> > memory is freed by the OS.
> 
> This is not always true. If you get DosMem via Int21h/??, the function
> number I forgot, the memory remains occupied. Otherwise TSRs would not
> really work.

A TSR does not exit, it stays resident, so it must release memory 
explicitly.  A program that *really* exits, doesn't have to do that.

- Raw text -


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