#include <atomic>
#include <cstring>
#include <ostream>
#include <sstream>
#include <new>
#include "quit.h"
Go to the source code of this file.
Functions | |
void | octave_handle_signal () |
void | octave_quit_c (void) |
Variables | |
void(* | octave_interrupt_hook )() = nullptr |
std::atomic< sig_atomic_t > | octave_interrupt_state {0} |
volatile std::atomic< bool > | octave_signal_caught {false} |
void(* | octave_signal_hook )() = nullptr |
void octave_handle_signal | ( | void | ) |
Definition at line 109 of file quit.cc.
References octave_interrupt_state, and octave_signal_hook.
void(* octave_interrupt_hook) () | ( | ) | = nullptr |
Definition at line 44 of file quit.cc.
Referenced by interpreter::initialize().
std::atomic<sig_atomic_t> octave_interrupt_state {0} |
Definition at line 39 of file quit.cc.
Referenced by octave_oncleanup::call_object_destructor(), tree_evaluator::do_unwind_protect_cleanup_code(), octave_handle_signal(), interpreter::recover_from_exception(), cdef_object_rep::release(), and tree_evaluator::server_loop().
volatile std::atomic<bool> octave_signal_caught {false} |
Definition at line 41 of file quit.cc.
Referenced by interpreter::recover_from_exception().
void(* octave_signal_hook) () | ( | ) | = nullptr |
Definition at line 43 of file quit.cc.
Referenced by interpreter::initialize(), and octave_handle_signal().