A reaper that closes a pipe after the piping child has exited. More...
#include <CRPipe.h>
Public Member Functions | |
CRPipe (int inPID, int inPipeToClose) | |
get the pipe to close | |
virtual void | reap () |
do the real action | |
![]() | |
CReaper (int inPID) | |
the PID for which this reaper is responsible | |
int | getPID () const |
get the PID of this reaper | |
Protected Attributes | |
int | mPipeToClose |
when receiving a sigchild, this has to close the outgoing pipe | |
![]() | |
int | mPID |
the ID of the process to which the reaper belongs | |
A reaper that closes a pipe after the piping child has exited.