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 | 2fa1b9cb3c0cd8a4a1b9fc03d03764af6ddd7477 (patch) | |
tree | a6171ec90033bb7ccc80d44601a09c52c513b6da /tests/Priority_Buffer_Test.cpp | |
parent | 8a0f78acda236012a4e982887f18af2d23cec5e8 (diff) | |
download | ATCD-2fa1b9cb3c0cd8a4a1b9fc03d03764af6ddd7477.tar.gz |
*** empty log message ***
Diffstat (limited to 'tests/Priority_Buffer_Test.cpp')
-rw-r--r-- | tests/Priority_Buffer_Test.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/Priority_Buffer_Test.cpp b/tests/Priority_Buffer_Test.cpp index 7fe6d7cd33a..50bf7cb1e2e 100644 --- a/tests/Priority_Buffer_Test.cpp +++ b/tests/Priority_Buffer_Test.cpp @@ -89,7 +89,7 @@ producer (void *args) ACE_Message_Queue<ACE_MT_SYNCH> *msg_queue = (ACE_Message_Queue<ACE_MT_SYNCH> *) args; // 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; ACE_Message_Block *mb = 0; @@ -143,13 +143,13 @@ main (int, char *[]) // Message queue. ACE_Message_Queue<ACE_MT_SYNCH> msg_queue (max_queue); - if (ACE_Service_Config::thr_mgr ()->spawn (ACE_THR_FUNC (producer), + if (ACE_Thread_Manager::instance ()->spawn (ACE_THR_FUNC (producer), (void *) &msg_queue, THR_NEW_LWP | THR_DETACHED) == -1) ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "spawn"), 1); // Wait for producer and consumer threads to exit. - ACE_Service_Config::thr_mgr ()->wait (); + ACE_Thread_Manager::instance ()->wait (); #else ACE_ERROR ((LM_ERROR, "threads not supported on this platform\n")); #endif /* ACE_HAS_THREADS */ |