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 pid = -1, child_event_handler
f =
nullptr)
52 : m_pid (pid), m_handler (
f), m_have_status (0), m_status (0)
79 OCTAVE_DEFAULT_CONSTRUCT_COPY_MOVE_DELETE (
child_list)
81 void insert (pid_t pid,
child::child_event_handler
f);
83 void remove (pid_t pid);
94 OCTAVE_END_NAMESPACE(
octave)
child(const child &)=default
child_event_handler m_handler
child(pid_t pid=-1, child_event_handler f=nullptr)
sig_atomic_t m_have_status
OCTAVE_BEGIN_NAMESPACE(octave) static octave_value daspk_fcn
F77_RET_T const F77_DBLE const F77_DBLE * f