summaryrefslogtreecommitdiff
path: root/indra/llcommon/llerrorthread.h
blob: 66cbed519e53d96f8a7e2ab5f6d3bdedceadf7ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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