#include "child-list.h"
Public Member Functions | |
child_list (void) | |
void | insert (pid_t pid, child::child_event_handler f) |
void | reap (void) |
void | remove (pid_t pid) |
bool | wait (void) |
Private Attributes | |
base_list< child > | m_list |
Definition at line 75 of file child-list.h.
|
inline |
Definition at line 79 of file child-list.h.
void child_list::insert | ( | pid_t | pid, |
child::child_event_handler | f | ||
) |
Referenced by output_system::start_external_pager().
void child_list::reap | ( | void | ) |
Definition at line 45 of file child-list.cc.
References f, m_list, and remove().
Referenced by respond_to_pending_signals().
void child_list::remove | ( | pid_t | pid | ) |
Definition at line 35 of file child-list.cc.
References child::m_pid.
Referenced by output_system::clear_external_pager(), reap(), and run_command_and_return_output().
bool child_list::wait | ( | void | ) |
Definition at line 73 of file child-list.cc.
References m_list, waitpid(), and wnohang().
Referenced by respond_to_pending_signals().
Definition at line 91 of file child-list.h.