PostgreSQL Source Code
git master
|
#include <bgworker_internals.h>
Data Fields | |
BackgroundWorker | rw_worker |
pid_t | rw_pid |
TimestampTz | rw_crashed_at |
int | rw_shmem_slot |
bool | rw_terminate |
dlist_node | rw_lnode |
Definition at line 32 of file bgworker_internals.h.
TimestampTz RegisteredBgWorker::rw_crashed_at |
Definition at line 36 of file bgworker_internals.h.
Referenced by BackgroundWorkerStateChange(), CleanupBackend(), DetermineSleepTime(), maybe_start_bgworkers(), RegisterBackgroundWorker(), ResetBackgroundWorkerCrashTimes(), and StartBackgroundWorker().
dlist_node RegisteredBgWorker::rw_lnode |
Definition at line 39 of file bgworker_internals.h.
Referenced by BackgroundWorkerStateChange(), ForgetBackgroundWorker(), and RegisterBackgroundWorker().
pid_t RegisteredBgWorker::rw_pid |
Definition at line 35 of file bgworker_internals.h.
Referenced by BackgroundWorkerStateChange(), CleanupBackend(), maybe_start_bgworkers(), RegisterBackgroundWorker(), ReportBackgroundWorkerExit(), ReportBackgroundWorkerPID(), and StartBackgroundWorker().
int RegisteredBgWorker::rw_shmem_slot |
Definition at line 37 of file bgworker_internals.h.
Referenced by BackgroundWorkerShmemInit(), BackgroundWorkerStateChange(), FindRegisteredWorkerBySlotNumber(), ForgetBackgroundWorker(), ForgetUnstartedBackgroundWorkers(), ReportBackgroundWorkerExit(), and ReportBackgroundWorkerPID().
bool RegisteredBgWorker::rw_terminate |
Definition at line 38 of file bgworker_internals.h.
Referenced by BackgroundWorkerStateChange(), CleanupBackend(), DetermineSleepTime(), maybe_start_bgworkers(), RegisterBackgroundWorker(), and ReportBackgroundWorkerExit().
BackgroundWorker RegisteredBgWorker::rw_worker |
Definition at line 34 of file bgworker_internals.h.
Referenced by BackgroundWorkerShmemInit(), BackgroundWorkerStateChange(), BackgroundWorkerStopNotifications(), CleanupBackend(), DetermineSleepTime(), ForgetBackgroundWorker(), ForgetUnstartedBackgroundWorkers(), maybe_start_bgworkers(), RegisterBackgroundWorker(), ReportBackgroundWorkerExit(), ReportBackgroundWorkerPID(), ResetBackgroundWorkerCrashTimes(), and StartBackgroundWorker().