Go to the source code of this file.
Classes | |
struct | interrupt_handler |
Typedefs | |
typedef void | sig_handler(int) |
Functions | |
interrupt_handler | catch_interrupts () |
interrupt_handler | ignore_interrupts () |
void | install_signal_handlers () |
void | respond_to_pending_signals () |
interrupt_handler | set_interrupt_handler (const volatile interrupt_handler &h, bool restart_syscalls=true) |
sig_handler * | set_signal_handler (const char *signame, sig_handler *h, bool restart_syscalls=true) |
sig_handler * | set_signal_handler (int sig, sig_handler *h, bool restart_syscalls=true) |
Variables | |
std::atomic< bool > | can_interrupt |
int | pipe_handler_error_count |
bool | Vdebug_on_interrupt |
typedef void sig_handler(int) |
Definition at line 48 of file sighandlers.h.
interrupt_handler catch_interrupts | ( | ) |
Definition at line 327 of file sighandlers.cc.
References interrupt_handler::int_handler, and set_signal_handler().
Referenced by interpreter::initialize(), and interpreter::recover_from_exception().
interrupt_handler ignore_interrupts | ( | ) |
Definition at line 338 of file sighandlers.cc.
References interrupt_handler::brk_handler, interrupt_handler::int_handler, and set_signal_handler().
Referenced by octave::kbhit().
void install_signal_handlers | ( | ) |
Definition at line 366 of file sighandlers.cc.
void respond_to_pending_signals | ( | ) |
Definition at line 111 of file sighandlers.cc.
References __get_child_list__(), octave_get_sig_number(), and octave_num_signals().
Referenced by interpreter::initialize().
interrupt_handler set_interrupt_handler | ( | const volatile interrupt_handler & | h, |
bool | restart_syscalls = true |
||
) |
Definition at line 349 of file sighandlers.cc.
References interrupt_handler::brk_handler, interrupt_handler::int_handler, and set_signal_handler().
Referenced by octave::kbhit().
sig_handler* set_signal_handler | ( | const char * | signame, |
sig_handler * | h, | ||
bool | restart_syscalls = true |
||
) |
Definition at line 266 of file sighandlers.cc.
References octave_set_signal_handler_by_name().
sig_handler* set_signal_handler | ( | int | sig, |
sig_handler * | h, | ||
bool | restart_syscalls = true |
||
) |
Definition at line 260 of file sighandlers.cc.
References octave_set_signal_handler_internal().
Referenced by catch_interrupts(), ignore_interrupts(), and set_interrupt_handler().
|
extern |
Definition at line 69 of file sighandlers.cc.
Referenced by interpreter::initialize(), and interpreter::recover_from_exception().
|
extern |
Definition at line 66 of file sighandlers.cc.
|
extern |
Definition at line 72 of file sighandlers.cc.
Referenced by bp_table::dbclear_all_signals(), bp_table::dbstop_process_map_args(), Fdebug_on_interrupt(), bp_table::parse_dbfunction_params(), and bp_table::stop_on_err_warn_status().