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 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.
|
extern |
Definition at line 326 of file sighandlers.cc.
References interrupt_handler::brk_handler, interrupt_handler::int_handler, and set_signal_handler().
Referenced by interpreter::initialize(), install_signal_handlers(), and interpreter::recover_from_exception().
|
extern |
Definition at line 337 of file sighandlers.cc.
References interrupt_handler::brk_handler, interrupt_handler::int_handler, and set_signal_handler().
Referenced by history_system::do_edit_history(), kbhit(), and respond_to_pending_signals().
|
extern |
Definition at line 364 of file sighandlers.cc.
References catch_interrupts(), octave_create_interrupt_watcher_thread(), octave_num_signals(), and set_signal_handler().
Referenced by interpreter::interpreter().
|
extern |
Definition at line 111 of file sighandlers.cc.
References __get_child_list__(), ignore_interrupts(), octave_block_child(), octave_get_sig_number(), octave_interrupt_state, octave_num_signals(), octave_strsignal_wrapper(), octave_unblock_child(), pipe_handler_error_count, child_list::reap(), set_interrupt_handler(), and child_list::wait().
Referenced by interpreter::initialize().
|
extern |
Definition at line 348 of file sighandlers.cc.
References interrupt_handler::brk_handler, interrupt_handler::int_handler, and set_signal_handler().
Referenced by history_system::do_edit_history(), kbhit(), and respond_to_pending_signals().
|
extern |
Definition at line 265 of file sighandlers.cc.
References octave_set_signal_handler_by_name().
|
extern |
Definition at line 259 of file sighandlers.cc.
References octave_set_signal_handler_internal().
Referenced by catch_interrupts(), ignore_interrupts(), install_signal_handlers(), 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.
Referenced by respond_to_pending_signals().
|
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().