PostgreSQL Source Code
git master
|
#include <signal.h>
Go to the source code of this file.
Macros | |
#define | PG_SETMASK(mask) sigprocmask(SIG_SETMASK, mask, NULL) |
Functions | |
void | pqinitmask (void) |
pqsigfunc | pqsignal_pm (int signo, pqsigfunc func) |
Variables | |
PGDLLIMPORT sigset_t | UnBlockSig |
PGDLLIMPORT sigset_t | BlockSig |
PGDLLIMPORT sigset_t | StartupBlockSig |
#define PG_SETMASK | ( | mask | ) | sigprocmask(SIG_SETMASK, mask, NULL) |
Definition at line 19 of file pqsignal.h.
void pqinitmask | ( | void | ) |
Definition at line 41 of file pqsignal.c.
References BlockSig, SIGABRT, SIGALRM, SIGCONT, SIGQUIT, SIGTRAP, StartupBlockSig, and UnBlockSig.
Referenced by InitPostmasterChild(), InitStandaloneProcess(), and PostmasterMain().
Definition at line 120 of file pqsignal.c.
References BlockSig, pqsignal(), SIG_DFL, SIG_ERR, SIG_IGN, and SIGCHLD.
Referenced by PostmasterMain().
|
extern |
Definition at line 23 of file pqsignal.c.
Referenced by BackendInitialize(), BackgroundWorkerBlockSignals(), bgworker_die(), InitPostmasterChild(), InitStandaloneProcess(), pmdie(), PostmasterMain(), pqinitmask(), pqsignal_pm(), quickdie(), reaper(), ServerLoop(), SIGHUP_handler(), and sigusr1_handler().
|
extern |
Definition at line 24 of file pqsignal.c.
Referenced by BackendInitialize(), and pqinitmask().
|
extern |
Definition at line 22 of file pqsignal.c.
Referenced by AbortSubTransaction(), AbortTransaction(), AutoVacLauncherMain(), AutoVacWorkerMain(), BackgroundWorkerUnblockSignals(), BackgroundWriterMain(), CheckpointerMain(), InitializeLatchSupport(), PgArchiverMain(), pmdie(), PostgresMain(), pqinitmask(), reaper(), ServerLoop(), SIGHUP_handler(), sigusr1_handler(), StartupProcessMain(), SysLoggerMain(), WalReceiverMain(), and WalWriterMain().