#include <stdbool.h>
#include <sys/types.h>
Go to the source code of this file.
Typedefs | |
typedef void | octave_sig_handler(int) |
typedef void octave_sig_handler(int) |
Definition at line 39 of file signal-wrappers.h.
OCTAVE_API void* octave_alloc_signal_mask | ( | void | ) |
Definition at line 556 of file signal-wrappers.c.
References malloc().
Referenced by get_signal_mask().
OCTAVE_API void octave_block_async_signals | ( | void | ) |
Definition at line 151 of file cxx-signal-helpers.cc.
References async_signals.
Referenced by main().
OCTAVE_API void* octave_block_child | ( | void | ) |
Definition at line 423 of file signal-wrappers.c.
References malloc(), sigset_info::nvar, and sigset_info::ovar.
Referenced by respond_to_pending_signals().
OCTAVE_API void octave_block_interrupt_signal | ( | void | ) |
Definition at line 493 of file signal-wrappers.c.
References block_or_unblock_signal().
Referenced by qt_application::execute().
OCTAVE_API void octave_block_signal_by_name | ( | const char * | signame | ) |
Definition at line 522 of file signal-wrappers.c.
References block_or_unblock_signal_by_name().
Referenced by main().
OCTAVE_API void octave_create_interrupt_watcher_thread | ( | octave_sig_handler * | handler | ) |
Definition at line 193 of file cxx-signal-helpers.cc.
References octave_unblock_async_signals(), and signal_watcher().
Referenced by install_signal_handlers().
OCTAVE_API void octave_free_signal_mask | ( | void * | mask | ) |
Definition at line 562 of file signal-wrappers.c.
References free().
Referenced by restore_signal_mask().
OCTAVE_API bool octave_get_sig_number | ( | const char * | signame, |
int * | signum | ||
) |
Definition at line 83 of file signal-wrappers.c.
References signum(), and strcmp().
Referenced by block_or_unblock_signal_by_name(), generic_sig_handler(), interpreter::interrupt(), octave_set_signal_handler_by_name(), respond_to_pending_signals(), and set_sig_struct_field().
OCTAVE_API void octave_get_signal_mask | ( | void * | mask | ) |
Definition at line 568 of file signal-wrappers.c.
Referenced by get_signal_mask().
OCTAVE_API bool octave_have_kill | ( | void | ) |
Definition at line 73 of file signal-wrappers.c.
Referenced by kill().
OCTAVE_API int octave_kill_wrapper | ( | pid_t | pid, |
int | signum | ||
) |
Definition at line 50 of file signal-wrappers.c.
References kill(), and signum().
Referenced by interpreter::interrupt(), kill(), and main().
OCTAVE_API int octave_num_signals | ( | void | ) |
Definition at line 411 of file signal-wrappers.c.
Referenced by install_signal_handlers(), and respond_to_pending_signals().
OCTAVE_API int octave_raise_wrapper | ( | int | signum | ) |
Definition at line 580 of file signal-wrappers.c.
References signum().
Referenced by deadly_sig_handler().
OCTAVE_API void octave_restore_signal_mask | ( | void | ) |
Definition at line 550 of file signal-wrappers.c.
References octave_signal_mask.
Referenced by interpreter::recover_from_exception().
OCTAVE_API void octave_save_signal_mask | ( | void | ) |
Definition at line 544 of file signal-wrappers.c.
References octave_signal_mask.
Referenced by interpreter::initialize().
OCTAVE_API octave_sig_handler* octave_set_default_signal_handler | ( | int | sig | ) |
Definition at line 399 of file signal-wrappers.c.
References octave_set_signal_handler_internal().
Referenced by deadly_sig_handler().
OCTAVE_API octave_sig_handler* octave_set_default_signal_handler_by_name | ( | const char * | signame | ) |
Definition at line 405 of file signal-wrappers.c.
References octave_set_signal_handler_by_name().
OCTAVE_API octave_sig_handler* octave_set_signal_handler_by_name | ( | const char * | signame, |
octave_sig_handler * | handler, | ||
bool | restart_syscalls | ||
) |
Definition at line 387 of file signal-wrappers.c.
References octave_get_sig_number(), and octave_set_signal_handler_internal().
Referenced by gui_driver_set_signal_handler(), octave_set_default_signal_handler_by_name(), and set_signal_handler().
OCTAVE_API octave_sig_handler* octave_set_signal_handler_internal | ( | int | sig, |
octave_sig_handler * | handler, | ||
bool | restart_syscalls | ||
) |
Definition at line 353 of file signal-wrappers.c.
Referenced by octave_set_default_signal_handler(), octave_set_signal_handler_by_name(), and set_signal_handler().
OCTAVE_API void octave_set_signal_mask | ( | void * | mask | ) |
Definition at line 574 of file signal-wrappers.c.
Referenced by restore_signal_mask().
OCTAVE_API void octave_show_sigmask | ( | const char * | msg | ) |
Definition at line 625 of file signal-wrappers.c.
References print_sigmask().
OCTAVE_API char* octave_strsignal_wrapper | ( | int | signum | ) |
Definition at line 67 of file signal-wrappers.c.
References signum().
Referenced by deadly_sig_handler(), my_friendly_exit(), and respond_to_pending_signals().
OCTAVE_API void octave_unblock_async_signals | ( | void | ) |
Definition at line 159 of file cxx-signal-helpers.cc.
References async_signals.
Referenced by Fsystem(), main(), octave_create_interrupt_watcher_thread(), and signal_watcher().
OCTAVE_API void octave_unblock_child | ( | void * | context | ) |
Definition at line 452 of file signal-wrappers.c.
References free(), and sigset_info::ovar.
Referenced by respond_to_pending_signals().
OCTAVE_API void octave_unblock_interrupt_signal | ( | void | ) |
Definition at line 503 of file signal-wrappers.c.
References block_or_unblock_signal().
OCTAVE_API void octave_unblock_signal_by_name | ( | const char * | signame | ) |
Definition at line 528 of file signal-wrappers.c.
References block_or_unblock_signal_by_name().
Referenced by interpreter::interpreter(), Fsystem(), and main().