GNU Octave  4.0.0
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 | Typedefs | Functions | Variables
sighandlers.h File Reference
#include <signal.h>
#include "syswait.h"
#include "siglist.h"
#include "base-list.h"
Include dependency graph for sighandlers.h:
This graph shows which files directly or indirectly include this file:

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_handleroctave_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 Documentation

typedef void sig_handler(int)

Definition at line 46 of file sighandlers.h.

Function Documentation

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  )

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 
)
OCTINTERP_API void octave_signal_handler ( void  )

Variable Documentation

OCTINTERP_API bool can_interrupt
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().