GNU Octave  4.2.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Namespaces | Functions | Variables
sighandlers.cc File Reference
#include <csignal>
#include <cstdlib>
#include <iostream>
#include <new>
#include "cmd-edit.h"
#include "oct-syscalls.h"
#include "quit.h"
#include "singleton-cleanup.h"
#include "signal-wrappers.h"
#include "debug.h"
#include "defun.h"
#include "error.h"
#include "input.h"
#include "interpreter.h"
#include "load-save.h"
#include "octave.h"
#include "oct-map.h"
#include "pager.h"
#include "pt-bp.h"
#include "pt-eval.h"
#include "sighandlers.h"
#include "sysdep.h"
#include "utils.h"
#include "variables.h"
Include dependency graph for sighandlers.cc:

Go to the source code of this file.

Classes

class  octave::base_interrupt_manager
 
class  octave::interrupt_manager
 
class  octave::posix_interrupt_manager
 

Namespaces

 octave
 Octave interface to the compression and uncompression libraries.
 

Functions

interrupt_handler octave::catch_interrupts (void)
 
OCTAVE_EXPORT octave_value_list Fdebug_on_interrupt (const octave_value_list &args, int nargout) a normal interrupt will occur.When called from inside a function with the code
 
OCTAVE_EXPORT octave_value_list FSIG (const octave_value_list &args, int)
 
static void octave::generic_sig_handler (int sig)
 
interrupt_handler octave::ignore_interrupts (void)
 
void octave::install_signal_handlers (void)
 
static octave_scalar_map octave::make_sig_struct (void)
 
static void octave::my_friendly_exit (const char *sig_name, int sig_number, bool save_vars=true)
 
interrupt_handler octave::set_interrupt_handler (const volatile interrupt_handler &h, bool restart_syscalls)
 
static void octave::set_sig_struct_field (octave_scalar_map &m, const char *signame)
 
sig_handler * octave::set_signal_handler (int sig, sig_handler *handler, bool restart_syscalls)
 
sig_handler * octave::set_signal_handler (const char *signame, sig_handler *handler, bool restart_syscalls)
 
static void octave::sig_hup_handler (int)
 
static void octave::sig_term_handler (int)
 
static void octave::sigchld_handler (int sig)
 
static void octave::sigint_handler (int sig)
 
void octave::signal_handler (void)
 
static void octave::sigpipe_handler (int sig)
 
static void octave::user_abort (const char *sig_name, int sig_number)
 

Variables

bool octave::can_interrupt = false
 
 option
 
int octave::pipe_handler_error_count = 0
 
static booloctave::signals_caught = 0
 
bool octave::Vdebug_on_interrupt = false
 
static bool octave::Vsighup_dumps_octave_core = true
 
static bool octave::Vsigterm_dumps_octave_core = true
 

Function Documentation

OCTAVE_EXPORT octave_value_list Fdebug_on_interrupt ( const octave_value_list args,
int  nargout 
)

Definition at line 767 of file sighandlers.cc.

Referenced by install_sighandlers_fcns().

OCTAVE_EXPORT octave_value_list FSIG ( const octave_value_list args,
int   
)

Definition at line 734 of file sighandlers.cc.

References m, octave::make_sig_struct(), ovl(), and print_usage().

Referenced by install_sighandlers_fcns().

Variable Documentation

option

Definition at line 767 of file sighandlers.cc.

Referenced by do_history(), make_option_struct(), and octave_getopt_long_wrapper().