summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/examples/RtEC
diff options
context:
space:
mode:
authorcoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-03-06 23:48:19 +0000
committercoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-03-06 23:48:19 +0000
commit5696eb1d4985b8ec65d8b86b1971b4c2f167b1d2 (patch)
tree284850d9e2f716b89191cec4ca852e6eebeee38d /TAO/orbsvcs/examples/RtEC
parentd2375ffc161a7a69d0366547056c7bae3f3e6e42 (diff)
downloadATCD-5696eb1d4985b8ec65d8b86b1971b4c2f167b1d2.tar.gz
ChangeLogTag:Tue Mar 6 15:40:42 2001 Carlos O'Ryan <coryan@uci.edu>
Diffstat (limited to 'TAO/orbsvcs/examples/RtEC')
-rw-r--r--TAO/orbsvcs/examples/RtEC/Schedule/Service.cpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/TAO/orbsvcs/examples/RtEC/Schedule/Service.cpp b/TAO/orbsvcs/examples/RtEC/Schedule/Service.cpp
index 34786543733..41d80fbec99 100644
--- a/TAO/orbsvcs/examples/RtEC/Schedule/Service.cpp
+++ b/TAO/orbsvcs/examples/RtEC/Schedule/Service.cpp
@@ -364,10 +364,15 @@ main (int argc, char* argv[])
for (int i = 0; i != 200; ++i)
{
if (i % 2 == 0)
- consumer_proxy->push (event1, ACE_TRY_ENV);
+ {
+ consumer_proxy->push (event1, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
else
- consumer_proxy->push (event2, ACE_TRY_ENV);
- ACE_TRY_CHECK;
+ {
+ consumer_proxy->push (event2, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
ACE_Time_Value rate (0, 10000);
ACE_OS::sleep (rate);