summaryrefslogtreecommitdiff
path: root/ace/Thread_Manager.cpp
diff options
context:
space:
mode:
authornanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-02-24 07:56:11 +0000
committernanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-02-24 07:56:11 +0000
commit4b99ae11a3fc1806b02244c74405be23dbd552a6 (patch)
treea38da780b4a159cc266848dd9e193a31647796e4 /ace/Thread_Manager.cpp
parent4d720b21c24167b31db8dba138d274af436ec444 (diff)
downloadATCD-4b99ae11a3fc1806b02244c74405be23dbd552a6.tar.gz
ChangeLogTag:Thu Feb 24 01:52:51 2000 Nanbor Wang <nanbor@cs.wustl.edu>
Diffstat (limited to 'ace/Thread_Manager.cpp')
-rw-r--r--ace/Thread_Manager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ace/Thread_Manager.cpp b/ace/Thread_Manager.cpp
index 02860976f05..78623acc0d8 100644
--- a/ace/Thread_Manager.cpp
+++ b/ace/Thread_Manager.cpp
@@ -846,7 +846,6 @@ ACE_Thread_Manager::append_thr (ACE_thread_t t_id,
thr_desc->thr_id_ = t_id;
thr_desc->thr_handle_ = t_handle;
thr_desc->grp_id_ = grp_id;
- ACE_SET_BITS (thr_desc->thr_state_, thr_state);
thr_desc->task_ = task;
#if defined(ACE_USE_ONE_SHOT_AT_THREAD_EXIT)
thr_desc->cleanup_info_.cleanup_hook_ = 0;
@@ -864,6 +863,7 @@ ACE_Thread_Manager::append_thr (ACE_thread_t t_id,
#if !defined(ACE_USE_ONE_SHOT_AT_THREAD_EXIT)
thr_desc->terminated_ = 0;
#endif /* !ACE_USE_ONE_SHOT_AT_THREAD_EXIT */
+ ACE_SET_BITS (thr_desc->thr_state_, thr_state);
thr_desc->sync_->release ();
return 0;