summaryrefslogtreecommitdiff
path: root/ace
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-10-13 18:37:42 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-10-13 18:37:42 +0000
commit510d8da4255c57c12dd4d417223cf8842d424194 (patch)
treed36855069244fb93b55d267fd3accc25db4c3298 /ace
parent66f4e8a7b204fabc4f18ea2e8be5d9489119e95e (diff)
downloadATCD-510d8da4255c57c12dd4d417223cf8842d424194.tar.gz
(ACE_Thread_Descriptor ctor): reordered initializers to match declaration order. (spawn_i): added ACE_UNUSED_ARG (t_handle) without WTHREADS.
Diffstat (limited to 'ace')
-rw-r--r--ace/Thread_Manager.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/ace/Thread_Manager.cpp b/ace/Thread_Manager.cpp
index e59a2d12524..9d03ed3ea0a 100644
--- a/ace/Thread_Manager.cpp
+++ b/ace/Thread_Manager.cpp
@@ -73,11 +73,11 @@ ACE_Thread_Descriptor::dump (void) const
}
ACE_Thread_Descriptor::ACE_Thread_Descriptor (void)
- : task_ (0),
- thr_id_ (ACE_OS::NULL_thread),
+ : thr_id_ (ACE_OS::NULL_thread),
thr_handle_ (ACE_OS::NULL_hthread),
grp_id_ (0),
- thr_state_ (ACE_THR_IDLE)
+ thr_state_ (ACE_THR_IDLE),
+ task_ (0)
{
ACE_TRACE ("ACE_Thread_Descriptor::ACE_Thread_Descriptor");
@@ -509,6 +509,8 @@ ACE_Thread_Manager::spawn_i (ACE_THR_FUNC func,
0,
TRUE,
DUPLICATE_SAME_ACCESS);
+#else
+ ACE_UNUSED_ARG (t_handle);
#endif /* ACE_HAS_WTHREADS */
return this->append_thr (*t_id,