summaryrefslogtreecommitdiff
path: root/ace/Task.cpp
diff options
context:
space:
mode:
authorcdgill <cdgill@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-12-28 21:43:25 +0000
committercdgill <cdgill@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-12-28 21:43:25 +0000
commit50dd8cf76ea5b8f9dd2638328c9be9c91ffdbebb (patch)
tree97dd0ce6d8961ce93017be717e56c8c2b30f3598 /ace/Task.cpp
parentf88cded0f2e754fe0acda54d0b8e0483f2ec723b (diff)
downloadATCD-50dd8cf76ea5b8f9dd2638328c9be9c91ffdbebb.tar.gz
merged in pSOS changes from Motorola
Diffstat (limited to 'ace/Task.cpp')
-rw-r--r--ace/Task.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/ace/Task.cpp b/ace/Task.cpp
index fbbc7678914..20f4d7d5595 100644
--- a/ace/Task.cpp
+++ b/ace/Task.cpp
@@ -99,7 +99,11 @@ ACE_Task_Base::activate (long flags,
// active object and the caller didn't supply us with a
// Thread_Manager.
if (this->thr_mgr_ == 0)
+# if defined (ACE_THREAD_MANAGER_LACKS_STATICS)
+ this->thr_mgr_ = ACE_THREAD_MANAGER_SINGLETON::instance ();
+# else /* ! ACE_THREAD_MANAGER_LACKS_STATICS */
this->thr_mgr_ = ACE_Thread_Manager::instance ();
+# endif /* ACE_THREAD_MANAGER_LACKS_STATICS */
int grp_spawned = -1;
if (thread_ids == 0)