diff options
Diffstat (limited to 'source/cThread.h')
-rw-r--r-- | source/cThread.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/cThread.h b/source/cThread.h index 1e9d73c17..f2cd8a75d 100644 --- a/source/cThread.h +++ b/source/cThread.h @@ -5,7 +5,7 @@ class cThread {
public:
typedef void (ThreadFunc)(void*);
- cThread( ThreadFunc a_ThreadFunction, void* a_Param );
+ cThread( ThreadFunc a_ThreadFunction, void* a_Param, const char* a_ThreadName = 0 );
~cThread();
void Start( bool a_bWaitOnDelete = true );
@@ -22,4 +22,6 @@ private: void* m_Param;
cEvent* m_Event;
cEvent* m_StopEvent;
+
+ char* m_ThreadName;
};
\ No newline at end of file |