#include <config.h>#include <PipeStream.h>#include <Util.h>#include <iostream>#include <cstdio>#include <cctype>#include <cerrno>#include <cassert>#include <unistd.h>#include <sys/signal.h>#include <signal.h>#include <sys/wait.h>#include <sys/time.h>#include <map>#include <stringstream.h>Namespaces | |
| namespace | PipeStreamSignalHandling |
Classes | |
| struct | PipeStreamSignalHandling::process_status |
Functions | |
| bool | got_status (pid_t pid, int *status) |
| Checks to see if the given process has exited. | |
| void | expectAnother () throw (InputByteStreamError) |
| Note that we expect to start another child. | |
| void | childcatcher (int) |
| void | alarmcatcher (int) |
Variables | |
| process_status * | procs = 0 |
| sig_atomic_t | nprocs |
| sig_atomic_t | nprocs_used |
|
|
|
|
|
|
|
|
Note that we expect to start another child.
This function must be called before doing each
|
|
||||||||||||
|
Checks to see if the given process has exited.
If there's an entry for this PID in the list, then put the corresponding status in the
|
|
|
|
|
|
|
|
|
|
1.3.8