1 #ifndef _GEMFIRE_SIGNALHANDLER_HPP_ 2 #define _GEMFIRE_SIGNALHANDLER_HPP_ 11 #include "gfcpp_globals.hpp" 18 struct _EXCEPTION_POINTERS;
19 typedef _EXCEPTION_POINTERS EXCEPTION_POINTERS;
25 class DistributedSystem;
34 static int s_waitSeconds;
36 static void init(
bool crashDumpEnabled,
const char* crashDumpLocation,
37 const char* crashDumpPrefix);
46 static void installBacktraceHandler();
52 static void removeBacktraceHandler();
56 static bool getCrashDumpEnabled();
60 static const char* getCrashDumpLocation();
64 static const char* getCrashDumpPrefix();
70 static void dumpStack(
char* dumpFile,
size_t maxLen);
78 static void dumpStack(
unsigned int expCode, EXCEPTION_POINTERS* pExp,
79 char* dumpFile,
size_t maxLen);
81 static void * s_pOldHandler;
87 static void waitForDebugger();
This namespace contains all the GemFire C++ API classes, enumerations and globals.
Definition: Assert.hpp:19
DistributedSystem encapsulates this applications "connection" into the GemFire Java servers distribut...
Definition: DistributedSystem.hpp:35
#define CPPCACHE_EXPORT
Defines a GemFire CPPCACHE export.
Definition: gf_base.hpp:51
Represents a signal handler used for dumping stacks and attaching a debugger.
Definition: SignalHandler.hpp:31