diff options
Diffstat (limited to 'ACE/tests/Thread_Manager_Test.cpp')
-rw-r--r-- | ACE/tests/Thread_Manager_Test.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ACE/tests/Thread_Manager_Test.cpp b/ACE/tests/Thread_Manager_Test.cpp index d775ce72194..b3dc548455b 100644 --- a/ACE/tests/Thread_Manager_Test.cpp +++ b/ACE/tests/Thread_Manager_Test.cpp @@ -89,7 +89,7 @@ handler (int /* signum */) static void * worker (int iterations) { -#if defined (ACE_HAS_VXTHREADS) +#if 0 ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("(%P|%t) %s: stack size is %u\n"), ACE_OS::thr_self (), ACE_OS::thr_min_stack ())); @@ -283,7 +283,7 @@ run_main (int, ACE_TCHAR *[]) ACE_Thread_Manager *thr_mgr = ACE_Thread_Manager::instance (); -#if defined (ACE_HAS_VXTHREADS) +#if 0 // Assign thread (VxWorks task) names to test that feature. ACE_hthread_t *thread_name = 0; ACE_NEW_RETURN (thread_name, @@ -323,7 +323,7 @@ run_main (int, ACE_TCHAR *[]) THR_BOUND , ACE_DEFAULT_THREAD_PRIORITY , -1 -#if defined (ACE_HAS_VXTHREADS) +#if 0 , 0 , thread_name , 0 @@ -442,7 +442,7 @@ run_main (int, ACE_TCHAR *[]) ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("(%t) main thread finished\n"))); -#if defined (ACE_HAS_VXTHREADS) +#if 0 for (i = 0; i < n_threads - 1; ++i) { delete [] thread_name[i]; |