* pinfo.cc (EnumProcessesNT): Avoid 0 pids.

(EnumProcesses9x): Ditto.
* sigproc.cc (remove_childe): Eliminate.
(proc_subproc): Move remove_child stuff here.
(wait_subproc): Synchronize with proc_subproc when error occurs.  Add more
debugging info.
* sigproc.h (procstuff): Add an entry.
* spawn.cc (spawn_guts): Add sigframe here.
This commit is contained in:
Christopher Faylor
2000-11-04 05:54:57 +00:00
parent 46209564d4
commit e46db834d9
5 changed files with 39 additions and 30 deletions

View File

@ -20,7 +20,8 @@ enum procstuff
PROC_CHILDSTOPPED = 2, // a child stopped
PROC_CHILDTERMINATED = 3, // a child died
PROC_CLEARWAIT = 4, // clear all waits - signal arrived
PROC_WAIT = 5 // setup for wait() for subproc
PROC_WAIT = 5, // setup for wait() for subproc
PROC_NOTHING = 6 // nothing, really
};
typedef struct struct_waitq