Mail Archives: djgpp/1996/03/21/05:18:03
Charles Sandmann (sandmann AT clio DOT rice DOT edu) writes:
>> 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?
>
> If the first program hooks a software interrupt (in protected mode) and you
> write some GAS glue to handle the different CS/DS/SS issues (umm, maybe
> _go32_dpmi... routines?) then you could handle services for the child
> program (when it issues interrupts in asm or via int86). I was planning to
> implement the multi-tasking signal library that way but I got too busy.
A lot of us would *love* to have such a library... hope you can find the
time to ipmlement it :-)
--
.*. "Clouds are not spheres, mountains are not cones, coastlines are not
-() < circles, and bark is not smooth, nor does lightning travel in a
`*' straight line." ,------------------------------------------------
-- B. Mandelbrot | Paul Derbyshire (PGD) ao950 AT freenet DOT carleton DOT ca
- Raw text -