00001 #ifndef _GEMFIRE_SIGNALHANDLER_HPP_ 00002 #define _GEMFIRE_SIGNALHANDLER_HPP_ 00003 /*========================================================================= 00004 * (c) Copyright 2002-2007, GemStone Systems, Inc. All Rights Reserved. 00005 * 1260 NW Waterhouse Ave., Suite 200, Beaverton, OR 97006 00006 *========================================================================= 00007 */ 00008 00009 #include "gfcpp_globals.hpp" 00010 #include "Exception.hpp" 00011 00015 namespace gemfire { 00016 00019 class CPPCACHE_EXPORT SignalHandler 00020 { 00021 static int m_waitSeconds; 00022 00023 public: 00024 00026 static void installBacktraceHandler( ); 00027 00030 static void waitForDebugger(); 00031 }; 00032 00033 } 00034 00035 #endif 00036