diff options
Diffstat (limited to 'ace/OS_NS_Thread.cpp')
-rw-r--r-- | ace/OS_NS_Thread.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ace/OS_NS_Thread.cpp b/ace/OS_NS_Thread.cpp index 09139792efd..c27f6bf90f5 100644 --- a/ace/OS_NS_Thread.cpp +++ b/ace/OS_NS_Thread.cpp @@ -3893,8 +3893,8 @@ ACE_OS::thr_create (ACE_THR_FUNC func, stacksize = ACE_NEEDS_HUGE_THREAD_STACKSIZE; # endif /* ACE_NEEDS_HUGE_THREAD_STACKSIZE */ -# if !defined (ACE_VXWORKS) - // On VxWorks , using the task API, the OS will provide a task name if +# if !(defined (ACE_VXWORKS) && !defined (ACE_HAS_PTHREADS)) + // On VxWorks, using the task API, the OS will provide a task name if // the user doesn't. So, we don't need to create a tmp_thr. If the // caller of this member function is the Thread_Manager, than thr_id // will be non-zero anyways. @@ -3902,7 +3902,7 @@ ACE_OS::thr_create (ACE_THR_FUNC func, if (thr_id == 0) thr_id = &tmp_thr; -# endif /* !ACE_VXWORKS */ +# endif /* !(ACE_VXWORKS && !ACE_HAS_PTHREADS) */ ACE_hthread_t tmp_handle; if (thr_handle == 0) |