generalized suspend wanted

walsh%bbn-unix at sri-unix.UUCP walsh%bbn-unix at sri-unix.UUCP
Thu Mar 1 04:40:30 AEST 1984


From:  Bob Walsh <walsh at bbn-unix>


One can convert a core dump, image in the swap area, or the
current process into an executable with an initialized data
region.  However, such an executable cannot always be started
and simulate the continuation of the original job since the
meaning of file descriptors other than stdin, stdout, and stderr
will have been lost.  With shell i/o redirection, even the
meaning of those file descriptors may have changed.

So, the idea will not work for arbitrary programs, but will work
for programs prepared to deal with it.  I once write a cross 
assembler that did just this in order to avoid re-running initialization
code for things like the symbol table each time it was started.

bob walsh



More information about the Comp.unix.wizards mailing list