summaryrefslogtreecommitdiff
path: root/source/api_wrappers/linux/CThreadWrapper.h
diff options
context:
space:
mode:
authorZoranAleksov <Zoran.Aleksov@seavus.com>2012-02-07 15:33:42 +0100
committerViktor Mladenovski <viktor.mladenovski@seavus.com>2012-05-25 14:43:32 +0200
commit828be7d08c886347641d8bba675993caf5a13d1a (patch)
tree17e986bd43df9a9ebbe419bd4539bc6b1860d65c /source/api_wrappers/linux/CThreadWrapper.h
parent10184ae5b432f3dd7e014afb9a8f0ea0cd880e26 (diff)
Delivery must be compliant with Mac OS Lion
Porting of loader communication to Mac OS Lion ST-Ericsson ID: 358802 ST-Ericsson FOSS-OUT ID: NA Change-Id: I2aee1b2519cb9bfd07940bdf5a9fc55d78bba7da Depends-On: Ic1d148824eed95ed65259fc694e52f0729045208 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/44893 Reviewed-by: QABUILD Tested-by: Cvetko MLADENOVSKI <cvetko.mladenovski@seavus.com> Reviewed-by: Viktor MLADENOVSKI <viktor.mladenovski@stericsson.com>
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);