summaryrefslogtreecommitdiff
path: root/tests/Thread_Mutex_Test.cpp
diff options
context:
space:
mode:
authornobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-09-13 18:16:11 +0000
committernobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-09-13 18:16:11 +0000
commit673ee28aaad0fa9ada915da46b3356743f614913 (patch)
treefd74b335d1ee8f8cbce575509e8376ccfd5e3ebb /tests/Thread_Mutex_Test.cpp
parentb3bb335467a641600aea817a06317719a2ec78e6 (diff)
downloadATCD-fin_pluggable_ior_parsing.tar.gz
This commit was manufactured by cvs2svn to create tagfin_pluggable_ior_parsing
'fin_pluggable_ior_parsing'.
Diffstat (limited to 'tests/Thread_Mutex_Test.cpp')
-rw-r--r--tests/Thread_Mutex_Test.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/tests/Thread_Mutex_Test.cpp b/tests/Thread_Mutex_Test.cpp
index ebeea62a73e..e847f34fae9 100644
--- a/tests/Thread_Mutex_Test.cpp
+++ b/tests/Thread_Mutex_Test.cpp
@@ -64,14 +64,7 @@ spawn (void)
#if defined (ACE_HAS_THREADS)
ACE_Thread_Mutex mutex;
- const u_int n_threads =
-#if defined (__Lynx__)
- 3; /* It just doesn't work with 4 threads. */
-#else /* ! __Lynx__ */
- ACE_MAX_THREADS;
-#endif /* ! __Lynx_- */
-
- if (ACE_Thread_Manager::instance ()->spawn_n (n_threads,
+ if (ACE_Thread_Manager::instance ()->spawn_n (ACE_MAX_THREADS,
ACE_THR_FUNC (test),
(void *) &mutex,
THR_NEW_LWP | THR_DETACHED) == -1)