summaryrefslogtreecommitdiff
path: root/source/api_wrappers/linux/CThreadWrapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/api_wrappers/linux/CThreadWrapper.h')
-rw-r--r--source/api_wrappers/linux/CThreadWrapper.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/api_wrappers/linux/CThreadWrapper.h b/source/api_wrappers/linux/CThreadWrapper.h
index e02a6e8..9e0e473 100644
--- a/source/api_wrappers/linux/CThreadWrapper.h
+++ b/source/api_wrappers/linux/CThreadWrapper.h
@@ -10,6 +10,7 @@
#include "CEventObject.h"
#include <pthread.h>
+
typedef void *(*StartAddress_t)(void *);
class CThreadWrapper : public CWaitableObject
@@ -26,7 +27,7 @@ private:
pthread_t m_tid;
StartAddress_t m_pStartAddress;
void *m_pArgument;
- CEventObject m_ThreadEndedEvt;
+ CEventObject *m_ThreadEndedEvt;
protected:
static void *ThreadFunc(void *Arg);