summaryrefslogtreecommitdiff
path: root/tests/Recursive_Mutex_Test.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1998-10-13 05:45:58 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1998-10-13 05:45:58 +0000
commit92a39aa4892712bbc06e4e997baec545b097f74e (patch)
tree3732e2f3f1452e1e3db498e5772db032b435a543 /tests/Recursive_Mutex_Test.cpp
parent5ee3d64b0844e530e6db165efef9e2e8fd1c9d64 (diff)
downloadATCD-92a39aa4892712bbc06e4e997baec545b097f74e.tar.gz
.
Diffstat (limited to 'tests/Recursive_Mutex_Test.cpp')
-rw-r--r--tests/Recursive_Mutex_Test.cpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/tests/Recursive_Mutex_Test.cpp b/tests/Recursive_Mutex_Test.cpp
index e5c23e93a39..84cb337911a 100644
--- a/tests/Recursive_Mutex_Test.cpp
+++ b/tests/Recursive_Mutex_Test.cpp
@@ -51,14 +51,17 @@ recursive_worker (size_t nesting_level,
ACE_ASSERT (rm->acquire () == 0);
ACE_DEBUG ((LM_DEBUG,
ASYS_TEXT ("(%P|%t) = acquired, nesting = %d, thread id = %u\n"),
- rm->get_nesting_level (), rm->get_thread_id ()));
+ rm->get_nesting_level (),
+ rm->get_thread_id ()));
- recursive_worker (nesting_level + 1, rm);
+ recursive_worker (nesting_level + 1,
+ rm);
ACE_ASSERT (rm->release () == 0);
ACE_DEBUG ((LM_DEBUG,
ASYS_TEXT ("(%P|%t) = released, nesting = %d, thread id = %u\n"),
- rm->get_nesting_level (), rm->get_thread_id ()));
+ rm->get_nesting_level (),
+ rm->get_thread_id ()));
}
}
@@ -87,7 +90,7 @@ main (int, ASYS_TCHAR *[])
ACE_Thread_Manager::instance ()->wait ();
#else
ACE_ERROR ((LM_ERROR,
- ASYS_TEXT ("ACE doesn't support support process mutexes on this platform (yet)\n")));
+ ASYS_TEXT ("ACE doesn't support recursive process mutexes on this platform\n")));
#endif /* ACE_WIN32 */
ACE_END_TEST;
return 0;