summaryrefslogtreecommitdiffstats
path: root/source/cThread.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/cThread.h')
-rw-r--r--source/cThread.h50
1 files changed, 25 insertions, 25 deletions
diff --git a/source/cThread.h b/source/cThread.h
index 4fb001e67..5707e4bac 100644
--- a/source/cThread.h
+++ b/source/cThread.h
@@ -1,26 +1,26 @@
-#pragma once
-
-class cThread
-{
-public:
- typedef void (ThreadFunc)(void*);
- cThread( ThreadFunc a_ThreadFunction, void* a_Param, const char* a_ThreadName = 0 );
- ~cThread();
-
- void Start( bool a_bWaitOnDelete = true );
- void WaitForThread();
-private:
- ThreadFunc* m_ThreadFunction;
-
-#ifdef _WIN32
- static unsigned long MyThread(void* a_Param );
-#else
- static void *MyThread( void *lpParam );
-#endif
-
- void* m_Param;
- cEvent* m_Event;
- cEvent* m_StopEvent;
-
- char* m_ThreadName;
+#pragma once
+
+class cThread
+{
+public:
+ typedef void (ThreadFunc)(void*);
+ cThread( ThreadFunc a_ThreadFunction, void* a_Param, const char* a_ThreadName = 0 );
+ ~cThread();
+
+ void Start( bool a_bWaitOnDelete = true );
+ void WaitForThread();
+private:
+ ThreadFunc* m_ThreadFunction;
+
+#ifdef _WIN32
+ static unsigned long MyThread(void* a_Param );
+#else
+ static void *MyThread( void *lpParam );
+#endif
+
+ void* m_Param;
+ cEvent* m_Event;
+ cEvent* m_StopEvent;
+
+ char* m_ThreadName;
}; \ No newline at end of file