www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/03/19/10:18:19

Date: Tue, 19 Mar 1996 17:09:31 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Paul Derbyshire <ao950 AT FreeNet DOT Carleton DOT CA>
Cc: djgpp AT delorie DOT com
Subject: Re: Returning from a system()
In-Reply-To: <DoH4Mz.ACo@freenet.carleton.ca>
Message-Id: <Pine.SUN.3.91.960319170613.20848L-100000@is>
Mime-Version: 1.0

On Mon, 18 Mar 1996, Paul Derbyshire wrote:

> Let's assume a program has used system() to launch a second program, which
> is a DJGPP compiled program. Is there a way for the second program to
> suspend execution and return to the first one *without* exiting? I.e. it
> stays resident in memory, or is paged to disk. Also, how would the first
> program return to the second?

You are talking about making two programs multitask (OK, two-task) under
DOS, albeit multitask cooperatively.  This isn't easy.  But if anybody
implements such a feature, we can make Emacs under DJGPP with (almost)
asynchronuous processes: you can make shell-mode and GDB work! 

- Raw text -


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