summaryrefslogtreecommitdiff
path: root/tests/Barrier_Test.cpp
diff options
context:
space:
mode:
authorbrunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-04-23 04:43:59 +0000
committerbrunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-04-23 04:43:59 +0000
commita7c03cabf931b077d70c6f80ec02c7728a429f49 (patch)
tree61d38d262d43ac77fc2ad94c9e7e850cd5607622 /tests/Barrier_Test.cpp
parent2aa7b10780ad7c670f588dce4ec341351a0646aa (diff)
downloadATCD-a7c03cabf931b077d70c6f80ec02c7728a429f49.tar.gz
ChangeLogTag:Sat Apr 22 20:53:11 2000 Darrell Brunsch <brunsch@uci.edu>
Diffstat (limited to 'tests/Barrier_Test.cpp')
-rw-r--r--tests/Barrier_Test.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/Barrier_Test.cpp b/tests/Barrier_Test.cpp
index a29a6b7ef21..0d070d085fe 100644
--- a/tests/Barrier_Test.cpp
+++ b/tests/Barrier_Test.cpp
@@ -51,7 +51,7 @@ tester (Tester_Args *args)
iterations <= args->n_iterations_;
iterations++)
{
- ACE_DEBUG ((LM_DEBUG, ASYS_TEXT ("(%t) in iteration %d\n"),
+ ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("(%t) in iteration %d\n"),
iterations));
// Block until all other threads have waited, then continue.
@@ -64,9 +64,9 @@ tester (Tester_Args *args)
#endif /* ACE_HAS_THREADS */
int
-main (int, ASYS_TCHAR *[])
+main (int, ACE_TCHAR *[])
{
- ACE_START_TEST (ASYS_TEXT ("Barrier_Test"));
+ ACE_START_TEST (ACE_TEXT ("Barrier_Test"));
#if defined (ACE_HAS_THREADS)
int n_threads = ACE_MAX_THREADS;
@@ -80,7 +80,7 @@ main (int, ASYS_TCHAR *[])
iteration_count < ACE_MAX_ITERATIONS;
iteration_count++)
{
- ACE_DEBUG ((LM_DEBUG, ASYS_TEXT ("starting iteration %d\n"),
+ ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("starting iteration %d\n"),
iteration_count));
if (ACE_Thread_Manager::instance ()->spawn_n
@@ -89,16 +89,16 @@ main (int, ASYS_TCHAR *[])
(void *) &args,
THR_NEW_LWP | THR_JOINABLE) == -1)
- ACE_ERROR_RETURN ((LM_ERROR, ASYS_TEXT ("%p\n"),
- ASYS_TEXT ("spawn_n")), 1);
+ ACE_ERROR_RETURN ((LM_ERROR, ACE_TEXT ("%p\n"),
+ ACE_TEXT ("spawn_n")), 1);
ACE_Thread_Manager::instance ()->wait ();
}
- ACE_DEBUG ((LM_DEBUG, ASYS_TEXT ("test done\n")));
+ ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("test done\n")));
#else
ACE_ERROR ((LM_INFO,
- ASYS_TEXT ("threads not supported on this platform\n")));
+ ACE_TEXT ("threads not supported on this platform\n")));
#endif /* ACE_HAS_THREADS */
ACE_END_TEST;
return 0;