www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/12/26/02:19:47

Date: Thu, 26 Dec 1996 08:51:14 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Gene Buckle <geneb AT web DOT wa DOT net>
cc: djgpp AT delorie DOT com
Subject: Re: Need "fancy" trick...
In-Reply-To: <MAPI.Id.0016.00656e65622020203030303530303035@MAPI.to.RFC822>
Message-ID: <Pine.SUN.3.91.961226084824.6244Q-100000@is>
MIME-Version: 1.0

On Wed, 25 Dec 1996, Gene Buckle wrote:

> Eli, my understanding of system() and the spawn() functions leads me to 
> belive that the program that issues those calls could be swapped out of 
> memory.  This would be VERY bad.

Your interrupt handler needs to be in locked memory, then it will never 
be swapped.  This has nothing to do with the way you call the child 
programs.  DJGPP has a library function to lock regions of memory (see 
the docs of `__dpmi_lock_linear_region' in the libc reference).

- Raw text -


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