summaryrefslogtreecommitdiff
path: root/ace/Thread_Manager.cpp
diff options
context:
space:
mode:
authornanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-06-16 16:25:06 +0000
committernanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-06-16 16:25:06 +0000
commit55b4896c962de01ca5a3733c90dceaf4fa72087d (patch)
tree4152f57dd25badc9bdc047e6679901ac366c2786 /ace/Thread_Manager.cpp
parentf189051d960c22b724a535bfaf753e52b54361fc (diff)
downloadATCD-55b4896c962de01ca5a3733c90dceaf4fa72087d.tar.gz
Fixed auto_ptr initialization problem.
Diffstat (limited to 'ace/Thread_Manager.cpp')
-rw-r--r--ace/Thread_Manager.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/ace/Thread_Manager.cpp b/ace/Thread_Manager.cpp
index 86c29ef1ea3..b4210955aa6 100644
--- a/ace/Thread_Manager.cpp
+++ b/ace/Thread_Manager.cpp
@@ -603,7 +603,7 @@ ACE_Thread_Manager::spawn_i (ACE_THR_FUNC func,
// Create a new thread running <func>. *Must* be called with the
// <lock_> held...
#if 1
- auto_ptr<ACE_Thread_Descriptor> new_thr_desc = this->thread_desc_freelist_.remove ();
+ auto_ptr<ACE_Thread_Descriptor> new_thr_desc (this->thread_desc_freelist_.remove ());
new_thr_desc->thr_state_ = ACE_THR_IDLE;
// Get a "new" Thread Descriptor from the freelist.
@@ -621,7 +621,7 @@ ACE_Thread_Manager::spawn_i (ACE_THR_FUNC func,
ACE_Thread_Adapter *thread_args = 0;
# if defined (ACE_HAS_WIN32_STRUCTURAL_EXCEPTIONS)
- ACE_NEW_RETURN (thread_args,
+ ACE_NEW_RETURN (thread_args,
ACE_Thread_Adapter (func,
args,
(ACE_THR_C_FUNC) ace_thread_adapter,
@@ -631,7 +631,7 @@ ACE_Thread_Manager::spawn_i (ACE_THR_FUNC func,
ACE_LOG_MSG->seh_except_handler()),
-1);
#else
- ACE_NEW_RETURN (thread_args,
+ ACE_NEW_RETURN (thread_args,
ACE_Thread_Adapter (func,
args,
(ACE_THR_C_FUNC) ace_thread_adapter,