diff options
author | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-02-05 08:41:16 +0000 |
---|---|---|
committer | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-02-05 08:41:16 +0000 |
commit | 4a465b56e08484b61e72d9f14f99b6db434008c1 (patch) | |
tree | 0eb9a744edd05833980315719960965502070b63 /TAO/orbsvcs/tests/EC_Basic | |
parent | 30600ca97aacdbe7c379be29636c1f357abc7837 (diff) | |
download | ATCD-4a465b56e08484b61e72d9f14f99b6db434008c1.tar.gz |
ChangeLogTag:Fri Feb 5 02:34:27 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
Diffstat (limited to 'TAO/orbsvcs/tests/EC_Basic')
-rw-r--r-- | TAO/orbsvcs/tests/EC_Basic/EC_Basic.cpp | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/TAO/orbsvcs/tests/EC_Basic/EC_Basic.cpp b/TAO/orbsvcs/tests/EC_Basic/EC_Basic.cpp index 0f8a136d6ca..3e5b8debb1b 100644 --- a/TAO/orbsvcs/tests/EC_Basic/EC_Basic.cpp +++ b/TAO/orbsvcs/tests/EC_Basic/EC_Basic.cpp @@ -6,7 +6,6 @@ #include "orbsvcs/Event_Utilities.h" #include "orbsvcs/Event_Service_Constants.h" -#include "orbsvcs/Scheduler_Factory.h" #include "orbsvcs/Time_Utilities.h" #include "orbsvcs/RtecEventChannelAdminC.h" #include "orbsvcs/Sched/Config_Scheduler.h" @@ -99,15 +98,13 @@ ECB_Driver::run (int argc, char* argv[]) "EC_Basic: The (local) scheduler IOR is <%s>\n", str.in ())); - if (ACE_Scheduler_Factory::server (scheduler.in ()) == -1) - return -1; - // Create the EventService implementation, but don't start its // internal threads. TAO_Reactive_Module_Factory module_factory; ACE_EventChannel ec_impl (0, ACE_DEFAULT_EVENT_CHANNEL_TYPE, - &module_factory); + &module_factory, + scheduler.in ()); // Register Event_Service with the Naming Service. RtecEventChannelAdmin::EventChannel_var ec = @@ -434,7 +431,7 @@ ECB_SupplierID_Test::run (CORBA::ORB_ptr orb, int i; - for (i = 0; i < ECB_SupplierID_Test::PHASE_END; ++i) + for (i = 0; i <= ECB_SupplierID_Test::PHASE_END; ++i) { this->event_count_[i] = 0; this->error_count_[i] = 0; @@ -772,7 +769,7 @@ ECB_Correlation_Test::run (CORBA::ORB_ptr orb, int i; - for (i = 0; i < ECB_Correlation_Test::PHASE_END; ++i) + for (i = 0; i <= ECB_Correlation_Test::PHASE_END; ++i) { this->event_count_[i] = 0; this->error_count_[i] = 0; |