summaryrefslogtreecommitdiff
path: root/TAO/tao
diff options
context:
space:
mode:
authorirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-07-19 23:50:45 +0000
committerirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-07-19 23:50:45 +0000
commit2ce96bfbf06e4c89e549aa039f6395d2150709b8 (patch)
tree06e5ceaaf92fc39b9dd96921155523f4ffb41e3a /TAO/tao
parent1f29269a21827e3e0847026ee46225a3bf896053 (diff)
downloadATCD-2ce96bfbf06e4c89e549aa039f6395d2150709b8.tar.gz
ChangeLogTag: Thu Jul 19 18:48:09 2001 Irfan Pyarali <irfan@cs.wustl.edu>
Diffstat (limited to 'TAO/tao')
-rw-r--r--TAO/tao/ORB.h34
1 files changed, 20 insertions, 14 deletions
diff --git a/TAO/tao/ORB.h b/TAO/tao/ORB.h
index 44ab97aa7c0..3f1ca2e1cdb 100644
--- a/TAO/tao/ORB.h
+++ b/TAO/tao/ORB.h
@@ -370,19 +370,25 @@ public:
/**
* Instructs the ORB to initialize itself and run its event loop in
- * the current thread, not returning until the ORB has shut down.
- * If an error occurs during initialization or at run-time, a CORBA
- * system exception will be thrown.
- */
+ * the current thread, not returning until the ORB has shut down or
+ * the time value specified through <tv> has expired. If an error
+ * occurs during initialization or at run-time, a CORBA system
+ * exception will be thrown. <tv> is reduced by the amount of time
+ * spent in this call.
+ **/
void run (ACE_Time_Value &tv,
CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ());
/**
* Instructs the ORB to initialize itself and run its event loop in
- * the current thread, not returning until the ORB has shut down.
- * If an error occurs during initialization or at run-time, a CORBA
- * system exception will be thrown.
- */
+ * the current thread, not returning until the ORB has shut down or
+ * the time value specified through <tv> has expired. If an error
+ * occurs during initialization or at run-time, a CORBA system
+ * exception will be thrown. <tv> is reduced by the amount of time
+ * spent in this call. If <tv> is 0, it means that the timeout is
+ * infinite. If <tv> is ACE_Time_Value::zero, it specifies to poll
+ * and does not block.
+ **/
void run (ACE_Time_Value *tv,
CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ());
@@ -392,18 +398,18 @@ public:
TAO_default_environment ());
/// Returns an indication of whether the ORB needs to perform some work
- /// but will look for work to pending for more than the specified time.
+ /// but will look for work pending for no more than the specified time.
/// This is useful for implementing an event loop with an idle timeout.
CORBA::Boolean work_pending (ACE_Time_Value &tv,
CORBA_Environment &ACE_TRY_ENV =
TAO_default_environment ());
/**
- * This operation performs an implementation-defined unit of
- * work. Note that the default behavior is not to block; this
- * behavior can be modified by passing an appropriate
- * <ACE_Time_Value>.
- */
+ * This operation performs an implementation-defined unit of work.
+ * Note that the default behavior is to block if the unit of work is
+ * not present; this behavior can be modified by passing an
+ * appropriate <ACE_Time_Value> as described in run().
+ **/
void perform_work (CORBA_Environment &ACE_TRY_ENV =
TAO_default_environment ());
void perform_work (ACE_Time_Value &,