summaryrefslogtreecommitdiff
path: root/ACE/ace/OS_NS_Thread.h
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>2015-02-11 16:42:51 -0500
committerSteve Huston <shuston@riverace.com>2015-02-11 16:42:51 -0500
commit2cc51308d8f58ffb4f581a3db54cfe889961bc71 (patch)
tree61018e24123057e2fe0b423f853ab6cfb5184323 /ACE/ace/OS_NS_Thread.h
parent0a0b2316314c191c10e8747c85fafe0473a973c6 (diff)
downloadATCD-2cc51308d8f58ffb4f581a3db54cfe889961bc71.tar.gz
Apply patches sent from Gordon Hulpieu
Diffstat (limited to 'ACE/ace/OS_NS_Thread.h')
-rw-r--r--ACE/ace/OS_NS_Thread.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/ACE/ace/OS_NS_Thread.h b/ACE/ace/OS_NS_Thread.h
index 42a48ee93e0..f3176c82396 100644
--- a/ACE/ace/OS_NS_Thread.h
+++ b/ACE/ace/OS_NS_Thread.h
@@ -160,6 +160,7 @@ ACE_END_VERSIONED_NAMESPACE_DECL
# elif defined (ACE_VXWORKS)
# include /**/ <sysLib.h> // for sysClkRateGet()
+# include /**/ <types/vxTypes.h>
# if !defined (__RTP__)
# include /**/ <taskLib.h>
# include /**/ <taskHookLib.h>
@@ -228,8 +229,8 @@ typedef struct
char *name_;
} ACE_sema_t;
# endif /* !ACE_HAS_POSIX_SEM */
-typedef int ACE_thread_t;
-typedef int ACE_hthread_t;
+typedef TASK_ID ACE_thread_t;
+typedef TASK_ID ACE_hthread_t;
// Key type: the ACE TSS emulation requires the key type be unsigned,
// for efficiency. (Current POSIX and Solaris TSS implementations also
// use u_int, so the ACE TSS emulation is compatible with them.)