diff options
author | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-07-25 21:44:04 +0000 |
---|---|---|
committer | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-07-25 21:44:04 +0000 |
commit | 31914a35cb780d44c58b704c43db817fbc397627 (patch) | |
tree | a6171ec90033bb7ccc80d44601a09c52c513b6da /tests/IOStream_Test.cpp | |
parent | 367e59984068ed16f1e86d4ef878c45c810561b3 (diff) | |
download | ATCD-31914a35cb780d44c58b704c43db817fbc397627.tar.gz |
*** empty log message ***
Diffstat (limited to 'tests/IOStream_Test.cpp')
-rw-r--r-- | tests/IOStream_Test.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/IOStream_Test.cpp b/tests/IOStream_Test.cpp index 899c1fecf6e..a3f6f71279b 100644 --- a/tests/IOStream_Test.cpp +++ b/tests/IOStream_Test.cpp @@ -155,7 +155,7 @@ client (void *arg = 0) ACE_UNUSED_ARG (arg); #if defined (ACE_HAS_THREADS) - ACE_Thread_Control thread_control (ACE_Service_Config::thr_mgr ()); + ACE_Thread_Control thread_control (ACE_Thread_Manager::instance ()); #endif /* ACE_HAS_THREADS */ ACE_SOCK_IOStream server; @@ -247,9 +247,9 @@ server (void *arg = 0) ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "get_local_addr"), 0); #if defined (ACE_HAS_THREADS) - ACE_Thread_Control thread_control (ACE_Service_Config::thr_mgr ()); + ACE_Thread_Control thread_control (ACE_Thread_Manager::instance ()); - if (ACE_Service_Config::thr_mgr ()->spawn (ACE_THR_FUNC (client), + if (ACE_Thread_Manager::instance ()->spawn (ACE_THR_FUNC (client), (void *) &server_addr, THR_NEW_LWP | THR_DETACHED) == -1) ACE_ERROR_RETURN ((LM_ERROR, @@ -335,7 +335,7 @@ spawn (void) if (acceptor.open ((const ACE_INET_Addr &) ACE_Addr::sap_any) == -1) ACE_ERROR_RETURN ((LM_ERROR, "(%P|%t) %p\n", "open"), -1); #if defined (ACE_HAS_THREADS) - else if (ACE_Service_Config::thr_mgr ()->spawn (ACE_THR_FUNC (server), + else if (ACE_Thread_Manager::instance ()->spawn (ACE_THR_FUNC (server), &acceptor, THR_NEW_LWP | THR_DETACHED) == -1) ACE_ERROR_RETURN ((LM_ERROR, @@ -343,7 +343,7 @@ spawn (void) -1); // Wait for the client and server thread to exit. - ACE_Service_Config::thr_mgr ()->wait (); + ACE_Thread_Manager::instance ()->wait (); #elif !defined (ACE_LACKS_EXEC) switch (ACE_OS::fork ("child")) |