33 #if !defined (octave_sighandlers_h)
34 #define octave_sighandlers_h 1
71 bool restart_syscalls =
true);
83 bool restart_syscalls =
true);
85 #if defined (__WIN32__) && ! defined (__CYGWIN__)
105 typedef bool (*child_event_handler) (pid_t,
int);
108 : pid (id), handler (
f), have_status (0), status (0) { }
111 : pid (oc.pid), handler (oc.handler),
112 have_status (oc.have_status), status (oc.status) { }
167 static void reap (
void);
169 static bool wait (
void);
171 static void remove (pid_t pid);
175 static bool instance_ok (
void);
static void cleanup_instance(void)
OCTINTERP_API octave_interrupt_handler octave_set_interrupt_handler(const volatile octave_interrupt_handler &, bool restart_syscalls=true)
octave_child(pid_t id=-1, child_event_handler f=0)
OCTINTERP_API octave_interrupt_handler octave_catch_interrupts(void)
int pipe_handler_error_count
OCTINTERP_API bool Vdebug_on_interrupt
OCTINTERP_API void octave_signal_handler(void)
OCTINTERP_API void install_signal_handlers(void)
static octave_child_list_rep * instance
F77_RET_T const double const double * f
child_event_handler handler
octave_child(const octave_child &oc)
OCTINTERP_API octave_interrupt_handler octave_ignore_interrupts(void)
OCTINTERP_API sig_handler * octave_set_signal_handler(int, sig_handler *, bool restart_syscalls=true)
OCTINTERP_API bool can_interrupt
bool(* child_event_handler)(pid_t, int)