#include <CReaper.h>
Public Member Functions | |
CReaper (int inPID) | |
the PID for which this reaper is responsible | |
virtual void | reap ()=0 |
react to a sigchild signal | |
int | getPID () const |
get the PID of this reaper | |
Protected Attributes | |
int | mPID |
the ID of the process to which the reaper belongs |
This file is what Wall et al. call REAPER in the perlipc manpage. It class knows which PID it's waiting for. When the time has come the reaper distributor will call reap() on this.