GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
child_list Class Reference

#include "child-list.h"

Collaboration diagram for child_list:

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< childm_list
 

Detailed Description

Definition at line 75 of file child-list.h.

Constructor & Destructor Documentation

◆ child_list()

child_list::child_list ( void  )
inline

Definition at line 79 of file child-list.h.

Member Function Documentation

◆ insert()

void child_list::insert ( pid_t  pid,
child::child_event_handler  f 
)

◆ reap()

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().

◆ remove()

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().

◆ wait()

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().

Member Data Documentation

◆ m_list

base_list<child> child_list::m_list
private

Definition at line 91 of file child-list.h.

Referenced by reap(), and wait().


The documentation for this class was generated from the following files: