summaryrefslogtreecommitdiff
path: root/indra/llcommon/llerrorthread.h
diff options
context:
space:
mode:
authorJames Cook <james@lindenlab.com>2007-01-02 08:33:20 +0000
committerJames Cook <james@lindenlab.com>2007-01-02 08:33:20 +0000
commit420b91db29485df39fd6e724e782c449158811cb (patch)
treeb471a94563af914d3ed3edd3e856d21cb1b69945 /indra/llcommon/llerrorthread.h
Print done when done.
Diffstat (limited to 'indra/llcommon/llerrorthread.h')
-rw-r--r--indra/llcommon/llerrorthread.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/indra/llcommon/llerrorthread.h b/indra/llcommon/llerrorthread.h
new file mode 100644
index 0000000000..66cbed519e
--- /dev/null
+++ b/indra/llcommon/llerrorthread.h
@@ -0,0 +1,28 @@
+/**
+ * @file llerrorthread.h
+ * @brief Specialized thread to handle runtime errors.
+ *
+ * Copyright (c) 2004-$CurrentYear$, Linden Research, Inc.
+ * $License$
+ */
+
+#ifndef LL_LLERRORTHREAD_H
+#define LL_LLERRORTHREAD_H
+
+#include "llthread.h"
+
+class LLErrorThread : public LLThread
+{
+public:
+ LLErrorThread();
+ ~LLErrorThread();
+
+ /*virtual*/ void run(void);
+ void setUserData(void *user_data);
+ void *getUserData() const;
+
+protected:
+ void* mUserDatap; // User data associated with this thread
+};
+
+#endif // LL_LLERRORTHREAD_H