26 #if ! defined (octave_child_list_h)
27 #define octave_child_list_h 1
29 #include "octave-config.h"
33 #include <sys/types.h>
49 typedef bool (*child_event_handler) (pid_t, int);
51 child (pid_t
id = -1, child_event_handler
f =
nullptr)
52 : pid (id), handler (
f), have_status (0), status (0)
83 void remove (pid_t pid);
void insert(pid_t pid, child::child_event_handler f)
base_list< child > m_list
child(const child &)=default
child_event_handler handler
child(pid_t id=-1, child_event_handler f=nullptr)
bool(* child_event_handler)(pid_t, int)
static double f(double k, double l_nu, double c_pm)