Mail Archives: djgpp/1995/01/31/01:19:32
> 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 -