summaryrefslogtreecommitdiff
path: root/indra/llcommon/llapp.h
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2010-11-04 11:53:53 -0400
committerOz Linden <oz@lindenlab.com>2010-11-04 11:53:53 -0400
commit294fd9c1bccf927beab1a661705e743fd516e50b (patch)
treeffb020e52701420970206a90114e8dd132fff7a7 /indra/llcommon/llapp.h
parent904738c475bf325666f121b9f9db10e76ec49fcd (diff)
parente2714252f34b02ee628fb1665dfa90b932fab2f7 (diff)
merge fix for STORM-536
Diffstat (limited to 'indra/llcommon/llapp.h')
-rw-r--r--indra/llcommon/llapp.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/llcommon/llapp.h b/indra/llcommon/llapp.h
index ee1d696829..a536a06ea5 100644
--- a/indra/llcommon/llapp.h
+++ b/indra/llcommon/llapp.h
@@ -189,6 +189,11 @@ public:
//
virtual bool mainLoop() = 0; // Override for the application main loop. Needs to at least gracefully notice the QUITTING state and exit.
+ //
+ // Crash logging
+ //
+ void disableCrashlogger(); // Let the OS handle the crashes
+ static bool isCrashloggerDisabled(); // Get the here above set value
//
// Application status
@@ -280,6 +285,7 @@ protected:
static void setStatus(EAppStatus status); // Use this to change the application status.
static EAppStatus sStatus; // Reflects current application status
static BOOL sErrorThreadRunning; // Set while the error thread is running
+ static BOOL sDisableCrashlogger; // Let the OS handle crashes for us.
#if !LL_WINDOWS
static LLAtomicU32* sSigChildCount; // Number of SIGCHLDs received.