delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/01/31/01:19:32

From: Charles Sandmann <sandmann AT new-orleans DOT NeoSoft DOT com>
Subject: Re: fork()
To: adamo AT hpcl DOT cti DOT gr (Giorgos Adamopoulos)
Date: Mon, 30 Jan 1995 21:30:29 -0600 (CST)
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu

> They are implementing spawning with extensive use of setjmp() and longjmp().
> Could it be possible that such an interface would be implemented for DJGPP
> so as to have a fork()-like function?

Warning, on spawns under DPMI, GO32 does not save/restore the stack which
is less than the ESP.  This is what was causing Blake McBride's EMACS problems.
Other bugs:  _stklen under DPMI can cause a spawn to GPF; make sure and
stubedit to a bigger size than _stklen (its actually related to the ESP
bug).  Boy I am glad GO32 is going away, I am tired of fixing bugs I 
put into it :-(

Maybe I will implement the no-memory-save stuff for DPMI as a fix/workaround
for both of these problems in some future maint release; not an issue in V2.

- Raw text -


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