summaryrefslogtreecommitdiff
path: root/tests/SOCK_Test.cpp
diff options
context:
space:
mode:
authorirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-07-25 21:44:04 +0000
committerirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-07-25 21:44:04 +0000
commit2fa1b9cb3c0cd8a4a1b9fc03d03764af6ddd7477 (patch)
treea6171ec90033bb7ccc80d44601a09c52c513b6da /tests/SOCK_Test.cpp
parent8a0f78acda236012a4e982887f18af2d23cec5e8 (diff)
downloadATCD-2fa1b9cb3c0cd8a4a1b9fc03d03764af6ddd7477.tar.gz
*** empty log message ***
Diffstat (limited to 'tests/SOCK_Test.cpp')
-rw-r--r--tests/SOCK_Test.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/SOCK_Test.cpp b/tests/SOCK_Test.cpp
index 1d6ace4aac5..17262fc995d 100644
--- a/tests/SOCK_Test.cpp
+++ b/tests/SOCK_Test.cpp
@@ -33,7 +33,7 @@ client (void *arg)
{
#if (defined (ACE_WIN32) || defined (VXWORKS)) && defined (ACE_HAS_THREADS)
// Insert thread into thr_mgr
- ACE_Thread_Control thread_control (ACE_Service_Config::thr_mgr ());
+ ACE_Thread_Control thread_control (ACE_Thread_Manager::instance ());
ACE_NEW_THREAD;
#endif /* (defined (ACE_WIN32) || defined (VXWORKS)) && defined (ACE_HAS_THREADS) */
@@ -97,7 +97,7 @@ server (void *arg)
{
#if (defined (ACE_WIN32) || defined (VXWORKS)) && defined (ACE_HAS_THREADS)
// Insert thread into thr_mgr
- ACE_Thread_Control thread_control (ACE_Service_Config::thr_mgr ());
+ ACE_Thread_Control thread_control (ACE_Thread_Manager::instance ());
ACE_NEW_THREAD;
#endif /* (defined (ACE_WIN32) || defined (VXWORKS)) && defined (ACE_HAS_THREADS) */
@@ -233,16 +233,16 @@ spawn (void)
ACE_OS::wait ();
}
#elif defined (ACE_HAS_THREADS)
- if (ACE_Service_Config::thr_mgr ()->spawn
+ if (ACE_Thread_Manager::instance ()->spawn
(ACE_THR_FUNC (server), (void *) &peer_acceptor, THR_NEW_LWP | THR_DETACHED) == -1)
ACE_ERROR ((LM_ERROR, "(%P|%t) %p\n%a", "thread create failed"));
- if (ACE_Service_Config::thr_mgr ()->spawn
+ if (ACE_Thread_Manager::instance ()->spawn
(ACE_THR_FUNC (client), (void *) &server_addr, THR_NEW_LWP | THR_DETACHED) == -1)
ACE_ERROR ((LM_ERROR, "(%P|%t) %p\n%a", "thread create failed"));
// Wait for the threads to exit.
- ACE_Service_Config::thr_mgr ()->wait ();
+ ACE_Thread_Manager::instance ()->wait ();
#else
ACE_ERROR ((LM_ERROR, "(%P|%t) only one thread may be run in a process on this platform\n%a", 1));
#endif /* ACE_HAS_THREADS */