summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/performance-tests/RTEvent/Roundtrip/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/performance-tests/RTEvent/Roundtrip/client.cpp')
-rw-r--r--TAO/orbsvcs/performance-tests/RTEvent/Roundtrip/client.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/TAO/orbsvcs/performance-tests/RTEvent/Roundtrip/client.cpp b/TAO/orbsvcs/performance-tests/RTEvent/Roundtrip/client.cpp
index 5e723b3cca5..95d19c31d18 100644
--- a/TAO/orbsvcs/performance-tests/RTEvent/Roundtrip/client.cpp
+++ b/TAO/orbsvcs/performance-tests/RTEvent/Roundtrip/client.cpp
@@ -29,7 +29,7 @@
ACE_RCSID(TAO_RTEC_PERF_Roundtrip, client, "$Id$")
-int main (int argc, char *argv[])
+int ACE_TMAIN (int argc, ACE_TCHAR *argv[])
{
const CORBA::Long experiment_id = 1;
@@ -113,7 +113,7 @@ int main (int argc, char *argv[])
int thread_count = 1 + options.nthreads;
- ACE_Barrier the_barrier (thread_count);
+ ACE_Barrier barrier (thread_count);
ACE_DEBUG ((LM_DEBUG, "Calibrating high res timer ...."));
ACE_High_Res_Timer::calibrate ();
@@ -169,7 +169,7 @@ int main (int argc, char *argv[])
the_poa.in (),
the_poa.in (),
ec.in (),
- &the_barrier
+ &barrier
ACE_ENV_ARG_PARAMETER);
if (options.high_priority_is_last)
@@ -186,7 +186,7 @@ int main (int argc, char *argv[])
ACE_ES_EVENT_UNDEFINED,
experiment_id,
high_priority_group.supplier (),
- &the_barrier);
+ &barrier);
high_priority_task.thr_mgr (&my_thread_manager);
{
// Artificial scope to wait for the high priority task...