Date: Thu, 26 Dec 1996 14:48:11 -0800 (PST) From: Gene Buckle To: Eli Zaretskii cc: djgpp AT delorie DOT com Subject: Re: Need "fancy" trick... In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII > > 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). > Is it possible to use this method to lock the *entire* program? g.