This is a structure for administering reapers that come into action on reception of a sigchild. More...
#include <CReaperDistributor.h>
Public Member Functions | |
bool | addReaper (CReaper *inReaper) |
add Reaper. More... | |
void | reap () |
Call the reaper of all processes that happen to terminate during this call of reap. | |
CReaperDistributor () | |
set sigchild handler on function reaper | |
~CReaperDistributor () | |
destroy this and all reapers set sigchild handler to default | |
This is a structure for administering reapers that come into action on reception of a sigchild.
bool CReaperDistributor::addReaper | ( | CReaper * | inReaper | ) |
add Reaper.
The inReaper->getPID() will be used for putting the reaper into mReapers.