summaryrefslogtreecommitdiff
path: root/ace/Proactor.h
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>2001-05-10 22:48:11 +0000
committerSteve Huston <shuston@riverace.com>2001-05-10 22:48:11 +0000
commit92b1ba96085dd4d9d03f6c3b9f0b09b8ce6183f5 (patch)
tree02a459c70e19ca4f48a3497b665af2b5e8083c81 /ace/Proactor.h
parent93346cf3709295f11bbd1f9ad79a085819c5ff05 (diff)
downloadATCD-92b1ba96085dd4d9d03f6c3b9f0b09b8ce6183f5.tar.gz
ChangeLogTag:Thu May 10 18:37:41 2001 Steve Huston <shuston@riverace.com>
Diffstat (limited to 'ace/Proactor.h')
-rw-r--r--ace/Proactor.h18
1 files changed, 10 insertions, 8 deletions
diff --git a/ace/Proactor.h b/ace/Proactor.h
index e82af128929..94dc5c43785 100644
--- a/ace/Proactor.h
+++ b/ace/Proactor.h
@@ -253,19 +253,21 @@ public:
int dont_call_handle_close = 1);
/**
- * Dispatch a single set of events. If <wait_time> elapses before
- * any events occur, return 0. Return 1 on success i.e., when a
- * completion is dispatched, non-zero (-1) on errors and errno is
- * set accordingly.
+ * Dispatch a single set of events, waiting up to a specified time limit
+ * if necessary.
+ * @param wait_time the time to wait for an event to occur. This is
+ * a relative time. On successful return, the time is updated to
+ * reflect the amount of time spent waiting for event(s) to occur.
+ * @return Returns 0 if no events occur before the wait_time expires.
+ * Returns 1 when a completion is dispatched. On error, returns -1
+ * and sets errno accordingly.
*/
virtual int handle_events (ACE_Time_Value &wait_time);
/**
* Block indefinitely until at least one event is dispatched.
- * Dispatch a single set of events. If <wait_time> elapses before
- * any events occur, return 0. Return 1 on success i.e., when a
- * completion is dispatched, non-zero (-1) on errors and errno is
- * set accordingly.
+ * @return Returns 1 when a completion is dispatched. On error, returns -1
+ * and sets errno accordingly.
*/
virtual int handle_events (void);