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 | |
Public Member Functions inherited from CReaper | |
| 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 | |
Protected Attributes inherited from CReaper | |
| int | mPID |
| the ID of the process to which the reaper belongs | |
A reaper that closes a pipe after the piping child has exited.