libassa 3.5.1
|
ForkList is a singleton class that keeps a list of all forked children. More...
#include <Fork.h>
Public Member Functions | |
ForkList () | |
Constructor. | |
~ForkList () | |
Destructor. Wipe out childer based on their state. | |
Public Attributes | |
list< fnode_t * > | m_list |
List of children's data structures. | |
Additional Inherited Members | |
![]() | |
static ForkList * | get_instance () |
Return an instance of templated class T. | |
![]() | |
Singleton () | |
Protected Constructor. | |
virtual | ~Singleton () |
Virtual Destructor. | |
ForkList is a singleton class that keeps a list of all forked children.
Its task is on process exit, for each child forked, either terminate it with SIGTERM or wait for its exit. In any case, child's exit status is collected thus avoiding zombie processes.
|
inline |
Constructor.
Definition at line 235 of file Fork.h.
References ASSA::FORK, and trace_with_mask.
ForkList::~ForkList | ( | ) |
Destructor. Wipe out childer based on their state.
Definition at line 187 of file Fork.cpp.
References ASSA::ASSAERR, EL, ASSA::FORK, m_list, and trace_with_mask.
list< fnode_t* > ASSA::ForkList::m_list |
List of children's data structures.
Definition at line 241 of file Fork.h.
Referenced by ~ForkList().