summaryrefslogtreecommitdiff
path: root/ace/WIN32_Proactor.h
diff options
context:
space:
mode:
authoralex <alex@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-02-25 05:47:55 +0000
committeralex <alex@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-02-25 05:47:55 +0000
commita38a0ff934c984203045ae02758b8dfcad1efa5d (patch)
tree071d900a875fbec72ed1678d4e2e9db6b2567673 /ace/WIN32_Proactor.h
parent3468b8519805977957ae5d5c9a10a124c0336edf (diff)
downloadATCD-a38a0ff934c984203045ae02758b8dfcad1efa5d.tar.gz
*** empty log message ***
Diffstat (limited to 'ace/WIN32_Proactor.h')
-rw-r--r--ace/WIN32_Proactor.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/ace/WIN32_Proactor.h b/ace/WIN32_Proactor.h
index 49a6b762e83..8b6168b3637 100644
--- a/ace/WIN32_Proactor.h
+++ b/ace/WIN32_Proactor.h
@@ -198,13 +198,16 @@ public:
virtual int handle_events (ACE_Time_Value &wait_time);
// Dispatch a single set of events. If <wait_time> elapses before
- // any events occur, return. Return 0 on success, non-zero (-1) on
- // timeouts/errors and errno is set accordingly.
+ // 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.
virtual int handle_events (void);
// Block indefinitely until at least one event is dispatched.
- // Return 0 on success, non-zero (-1) on timeouts/errors and errno
- // is set accordingly.
+ // 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.
virtual int post_completion (ACE_WIN32_Asynch_Result *result);
// Post a result to the completion port of the Proactor. If errors
@@ -315,7 +318,8 @@ protected:
virtual int handle_events (unsigned long milli_seconds);
// Dispatch a single set of events. If <milli_seconds> elapses
- // before any events occur, return.
+ // before any events occur, return 0. Return 1 if a completion is
+ // dispatched. Return -1 on errors.
void application_specific_code (ACE_WIN32_Asynch_Result *asynch_result,
u_long bytes_transferred,