MCPcopy Create free account
hub / github.com/apache/cloudberry / PostmasterIsAlive

Function PostmasterIsAlive

src/include/storage/pmsignal.h:101–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99extern volatile sig_atomic_t postmaster_possibly_dead;
100
101static inline bool
102PostmasterIsAlive(void)
103{
104 if (likely(!postmaster_possibly_dead))
105 return true;
106 return PostmasterIsAliveInternal();
107}
108#else
109#define PostmasterIsAlive() PostmasterIsAliveInternal()
110#endif

Callers 6

receiveChunksUDPIFCLoopFunction · 0.85
checkExceptionsFunction · 0.85
CheckPostmasterIsAliveFunction · 0.85
WaitEventAdjustKqueueFunction · 0.85
startup.cFile · 0.85
pgarch_ArchiverCopyLoopFunction · 0.85

Calls 1

Tested by

no test coverage detected