24#define MAX_ON_EXIT_NICELY 20
48 if (strcmp(
arg,
"pre-data") == 0)
50 else if (strcmp(
arg,
"data") == 0)
52 else if (strcmp(
arg,
"post-data") == 0)
68 pg_fatal(
"out of on_exit_nicely slots");
101 if (parallel_init_done && GetCurrentThreadId() != mainThreadId)
#define pg_log_error(...)
#define pg_log_error_hint(...)
static int on_exit_nicely_index
static struct @34 on_exit_nicely_list[MAX_ON_EXIT_NICELY]
void exit_nicely(int code)
on_exit_nicely_callback function
#define MAX_ON_EXIT_NICELY
void set_dump_section(const char *arg, int *dumpSections)
void on_exit_nicely(on_exit_nicely_callback function, void *arg)
void(* on_exit_nicely_callback)(int code, void *arg)