www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/08/09/07:52:56

Date: Fri, 9 Aug 1996 14:13:57 +0200 (DFT)
From: "Garrido Freire, Fco. Javier ((R)JA.GAR. SOFT)" <garridof AT cs DOT us DOT es>
Reply-To: "Garrido Freire, Francisco Javier" <Francisco-Javier DOT Garrido AT cs DOT us DOT es>
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
cc: djgpp AT delorie DOT com
Subject: Was: Re: Multitasking in DOS
In-Reply-To: <Pine.SUN.3.91.960627082601.9882B-100000@is>
Message-ID: <Pine.A32.3.93.960809131454.11912B-100000@nervion.cs.us.es>
Organization: Infoalum Mail Gateway <Infoalum AT cs DOT us DOT es>
MIME-Version: 1.0

On Thu, 27 Jun 1996, Eli Zaretskii wrote:

Sorry for not answering before. I've been out of net.

> 
> On Wed, 26 Jun 1996, Garrido Freire, Fco. Javier ((R)JA.GAR. SOFT) wrote:
> 
> > 	MULTITASKING IN DOS? Yeah!! Just, have a look at the
> > well-known debug program. DOS can run two programs, debug itself,
> > and that one which debug is debugging. You decide when DOS must
> > run debug's code and when child's code by means of 'T'rap and
> > 'G'o debug's commands. You work as a scheduler.
> 
> Check out the DJGPP support for debugging in the djlsr200.zip archive 
> (directory src/debug).  If DOS debug method can be a basis for 
> multi-tasking, so can DJGPP's debug support.
> 
RIGHT! That's what I *exactly* meant. If a debugger can run a
child, Why couldn't it run several ones? This support could be
in, say, go32.exe, (sorry DJ, more code in go32!!).

Now, guess we have a shell like sh, ksh, bash, tcsh ... from,
say, LINUX. Compiling it with DJGPP we had a authentic shell with
flat memory model and PM for her children. You shouldn't need change
anything on it. If it's given a good interface for fork(), pipe(),
wait() getpid(), ... multitasking doesn't (shouldn't) depend on
usr's code. I don't mind if it uses multithread, multitasking or
whatever, while it uses UNIX's fork/exec + IPC interface.

-------------------------------------------------------------------
F. Javier Garrido F.   (R)JA.GAR. SOFT    Dpto. de Computacion e IA
MINIX User. (USENET comp.os.minix & SCS)  Facultad de Informatica
Email: Francisco-Javier DOT Garrido AT cs DOT us DOT es  y Estadistica de Sevilla
URL: http://www.cs.us.es/~garridof                       (SPAIN)
"The light that burns twice as bright, burns half as long ...
   ... and you have burned so very, very brightly, Roy."
					  TYRREL from Blade Runner





- Raw text -


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