diff options
Diffstat (limited to 'netsvcs/clients/Tokens/collection/collection.cpp')
-rw-r--r-- | netsvcs/clients/Tokens/collection/collection.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/netsvcs/clients/Tokens/collection/collection.cpp b/netsvcs/clients/Tokens/collection/collection.cpp index 68f7e40b0a4..44a58ffec02 100644 --- a/netsvcs/clients/Tokens/collection/collection.cpp +++ b/netsvcs/clients/Tokens/collection/collection.cpp @@ -41,7 +41,7 @@ static int remote = 0; static void * run_thread (void *vp) { - ACE_Thread_Control tc (ACE_Service_Config::thr_mgr ()); + ACE_Thread_Control tc (ACE_Thread_Manager::instance ()); ACE_Token_Proxy *collection = (ACE_Token_Proxy *) vp; int count = iterations; @@ -176,7 +176,7 @@ main (int argc, char* argv[]) collectionBR.insert (*R); // Spawn off three threads. - ACE_Thread_Manager *mgr = ACE_Service_Config::thr_mgr (); + ACE_Thread_Manager *mgr = ACE_Thread_Manager::instance (); if (mgr->spawn (ACE_THR_FUNC (run_thread), (void *) &collectionAR, THR_BOUND | THR_SUSPENDED) == -1) |