summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/examples/RtEC/test_driver/Supplier.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/examples/RtEC/test_driver/Supplier.h')
-rw-r--r--TAO/orbsvcs/examples/RtEC/test_driver/Supplier.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/TAO/orbsvcs/examples/RtEC/test_driver/Supplier.h b/TAO/orbsvcs/examples/RtEC/test_driver/Supplier.h
index 3d31dce16d3..0c5887c3931 100644
--- a/TAO/orbsvcs/examples/RtEC/test_driver/Supplier.h
+++ b/TAO/orbsvcs/examples/RtEC/test_driver/Supplier.h
@@ -51,7 +51,8 @@ public:
virtual void update(ACE_ENV_SINGLE_ARG_DECL);
- void connect (ACE_RW_Mutex* done,
+ void connect (int *ready, //variable to check for readiness
+ ACE_RW_Mutex* done,
RtecScheduler::Scheduler_ptr scheduler,
const char *entry_prefix,
TimeBase::TimeT period,
@@ -93,6 +94,9 @@ private:
RtecEventComm::EventSet _events;
// set of events to push when a timeout event is received.
+
+ int *_ready; //do not respond to timeouts until this variable = 1
+
};
#endif /* SUPPLIER_H */