#include <signal.h>
#include "syswait.h"
#include "siglist.h"
#include "base-list.h"
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 |
typedef void sig_handler(int) |
Definition at line 46 of file sighandlers.h.
OCTINTERP_API void install_signal_handlers | ( | void | ) |
Definition at line 530 of file sighandlers.cc.
References generic_sig_handler(), octave_catch_interrupts(), octave_set_signal_handler(), and octave_signals_caught.
Referenced by octave_main().
OCTINTERP_API octave_interrupt_handler octave_catch_interrupts | ( | void | ) |
Definition at line 461 of file sighandlers.cc.
References error(), octave_set_signal_handler(), sigint_handler(), and w32_set_quiet_shutdown().
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 493 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 509 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 206 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 115 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().
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().
Definition at line 58 of file sighandlers.cc.
Referenced by octave_gets().