#include "c.h"
#include <signal.h>
#include <unistd.h>
#include "libpq/pqsignal.h"
#include "miscadmin.h"
Go to the source code of this file.
◆ PG_NSIG
◆ pqsignal()
Definition at line 123 of file pqsignal.c.
124{
125#if !(defined(WIN32) && defined(FRONTEND))
127#endif
128
131
133 {
136 }
137
138#if !(defined(WIN32) && defined(FRONTEND))
139 act.sa_handler = func;
142#ifdef SA_NOCLDSTOP
145#endif
148#else
149
152#endif
153}
#define Assert(condition)
static void wrapper_handler(SIGNAL_ARGS)
static volatile pqsigfunc pqsignal_handlers[PG_NSIG]
References fb(), SIGALRM, and SIGCHLD.
◆ StaticAssertDecl()
◆ wrapper_handler()
Definition at line 86 of file pqsignal.c.
87{
89
92
93#ifndef FRONTEND
94
95
96
97
98
101
103 {
106 return;
107 }
108#endif
109
111
113}
◆ pqsignal_handlers