Go to the source code of this file.
Namespaces | |
octave | |
Enumerations | |
enum | octave_internal_exception { octave_internal_no_exception = 0 , octave_internal_exec_exception = 1 , octave_internal_alloc_exception = 3 , octave_internal_quit_exception = 4 } |
Functions | |
void | octave_handle_signal (void) |
void | octave_rethrow_exception (void) |
void | octave_throw_bad_alloc (void) |
void | octave_throw_execution_exception (void) |
void | octave_throw_interrupt_exception (void) |
Variables | |
static sig_atomic_t | internal_exception_state |
void(* | octave_bad_alloc_hook )(void) = nullptr |
sig_atomic_t | octave_exception_state = 0 |
void(* | octave_interrupt_hook )(void) = nullptr |
sig_atomic_t | octave_interrupt_state = 0 |
volatile sig_atomic_t | octave_signal_caught = 0 |
void(* | octave_signal_hook )(void) = nullptr |
void octave_handle_signal | ( | void | ) |
Definition at line 121 of file quit.cc.
References octave_interrupt_state, and octave_signal_hook.
void octave_rethrow_exception | ( | void | ) |
Definition at line 166 of file quit.cc.
References internal_exception_state, octave_internal_alloc_exception, octave_internal_exec_exception, and octave_interrupt_state.
void octave_throw_bad_alloc | ( | void | ) |
Definition at line 157 of file quit.cc.
References internal_exception_state, and octave_internal_alloc_exception.
void octave_throw_execution_exception | ( | void | ) |
Definition at line 146 of file quit.cc.
References internal_exception_state, and octave_internal_exec_exception.
void octave_throw_interrupt_exception | ( | void | ) |
Definition at line 136 of file quit.cc.
References octave_interrupt_hook.
|
static |
Definition at line 45 of file quit.cc.
Referenced by octave_rethrow_exception(), octave_throw_bad_alloc(), and octave_throw_execution_exception().
void(* octave_interrupt_hook) (void) | ( | void | ) | = nullptr |
Definition at line 50 of file quit.cc.
Referenced by octave::interpreter::initialize(), and octave_throw_interrupt_exception().
sig_atomic_t octave_interrupt_state = 0 |
Definition at line 38 of file quit.cc.
Referenced by octave::jit_typeinfo::jit_typeinfo(), octave_oncleanup::call_object_destructor(), octave::tree_evaluator::do_unwind_protect_cleanup_code(), octave::command_editor::event_handler(), octave::generic_sig_handler(), octave_handle_signal(), octave_rethrow_exception(), octave::interpreter::recover_from_exception(), octave::cdef_object_rep::release(), octave::respond_to_pending_signals(), and octave::terminal_dock_widget::terminal_interrupt().
volatile sig_atomic_t octave_signal_caught = 0 |
Definition at line 47 of file quit.cc.
Referenced by octave::generic_sig_handler(), octave::interpreter::recover_from_exception(), and octave::terminal_dock_widget::terminal_interrupt().
void(* octave_signal_hook) (void) | ( | void | ) | = nullptr |
Definition at line 49 of file quit.cc.
Referenced by octave::interpreter::initialize(), and octave_handle_signal().