GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
Go to the source code of this file.
Classes | |
class | octave_child |
class | octave_child_list |
class | octave_child_list::octave_child_list_rep |
struct | octave_interrupt_handler |
Typedefs | |
typedef void | sig_handler (int) |
Functions | |
OCTINTERP_API void | install_signal_handlers (void) |
OCTINTERP_API octave_interrupt_handler | octave_catch_interrupts (void) |
OCTINTERP_API octave_interrupt_handler | octave_ignore_interrupts (void) |
OCTINTERP_API octave_interrupt_handler | octave_set_interrupt_handler (const volatile octave_interrupt_handler &, bool restart_syscalls=true) |
OCTINTERP_API sig_handler * | octave_set_signal_handler (int, sig_handler *, bool restart_syscalls=true) |
OCTINTERP_API void | octave_signal_handler (void) |
Variables | |
OCTINTERP_API bool | can_interrupt |
int | pipe_handler_error_count |
OCTINTERP_API bool | Vdebug_on_interrupt |
typedef void sig_handler(int) |
Definition at line 46 of file sighandlers.h.
OCTINTERP_API void install_signal_handlers | ( | void | ) |
Definition at line 628 of file sighandlers.cc.
References generic_sig_handler(), octave_catch_interrupts(), octave_set_signal_handler(), and octave_signals_caught.
Referenced by main(), and octave_initialize_interpreter().
OCTINTERP_API octave_interrupt_handler octave_catch_interrupts | ( | void | ) |
Definition at line 563 of file sighandlers.cc.
References octave_set_signal_handler(), and sigint_handler().
Referenced by execute_command_line_file(), execute_eval_option_code(), install_signal_handlers(), main_loop(), and recover_from_exception().
OCTINTERP_API octave_interrupt_handler octave_ignore_interrupts | ( | void | ) |
Definition at line 583 of file sighandlers.cc.
References octave_set_signal_handler().
Referenced by do_edit_history(), octave_kbhit(), and octave_signal_handler().
OCTINTERP_API octave_interrupt_handler octave_set_interrupt_handler | ( | const volatile octave_interrupt_handler & | , |
bool | restart_syscalls = true |
||
) |
Definition at line 603 of file sighandlers.cc.
References octave_set_signal_handler().
Referenced by do_edit_history(), octave_kbhit(), and octave_signal_handler().
OCTINTERP_API sig_handler* octave_set_signal_handler | ( | int | , |
sig_handler * | , | ||
bool | restart_syscalls = true |
||
) |
Definition at line 360 of file sighandlers.cc.
Referenced by install_signal_handlers(), my_friendly_exit(), octave_catch_interrupts(), octave_ignore_interrupts(), and octave_set_interrupt_handler().
OCTINTERP_API void octave_signal_handler | ( | void | ) |
Definition at line 269 of file sighandlers.cc.
References BLOCK_CHILD, octave_ignore_interrupts(), octave_set_interrupt_handler(), octave_signals_caught, octave_child_list::reap(), UNBLOCK_CHILD, and octave_child_list::wait().
Referenced by execute_command_line_file(), execute_eval_option_code(), and main_loop().
OCTINTERP_API bool can_interrupt |
Definition at line 61 of file sighandlers.cc.
Referenced by execute_command_line_file(), execute_eval_option_code(), main_loop(), recover_from_exception(), and user_abort().
int pipe_handler_error_count |
Definition at line 58 of file sighandlers.cc.
Referenced by octave_base_reader::octave_gets().
OCTINTERP_API bool Vdebug_on_interrupt |
Definition at line 64 of file sighandlers.cc.
Referenced by tree_jit::enabled(), and user_abort().