#include <sys/types.h>
#include <signal.h>
#include <stdlib.h>
#include <string.h>
#include <pthread.h>
#include "signal-wrappers.h"
Go to the source code of this file.
Functions | |
static const sigset_t | init_async_signals (void) |
void | octave_block_async_signals (void) |
void | octave_create_interrupt_watcher_thread (octave_sig_handler *handler) |
void | octave_unblock_async_signals (void) |
static void * | signal_watcher (void *arg) |
Variables | |
static const sigset_t | async_signals = init_async_signals () |
|
static |
Definition at line 67 of file cxx-signal-helpers.cc.
void octave_block_async_signals | ( | void | ) |
Definition at line 151 of file cxx-signal-helpers.cc.
References async_signals.
Referenced by main().
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().
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().
|
static |
Definition at line 169 of file cxx-signal-helpers.cc.
References async_signals, and octave_unblock_async_signals().
Referenced by octave_create_interrupt_watcher_thread().
|
static |
Definition at line 146 of file cxx-signal-helpers.cc.
Referenced by octave_block_async_signals(), octave_unblock_async_signals(), and signal_watcher().