summaryrefslogtreecommitdiff
path: root/ACE/ace/Reactor.h
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>2007-11-24 00:24:56 +0000
committerSteve Huston <shuston@riverace.com>2007-11-24 00:24:56 +0000
commit01371070e2ad52128d8468dd3af5c23e470ffe92 (patch)
treea08c5ee4f62135da1fc19f7e0ce47ce5fc471ad3 /ACE/ace/Reactor.h
parent718c3c0489831244911586ab87c95ea054026c99 (diff)
downloadATCD-01371070e2ad52128d8468dd3af5c23e470ffe92.tar.gz
ChangeLogTag:Sat Nov 24 00:23:34 UTC 2007 Steve Huston <shuston@riverace.com>
Diffstat (limited to 'ACE/ace/Reactor.h')
-rw-r--r--ACE/ace/Reactor.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/ACE/ace/Reactor.h b/ACE/ace/Reactor.h
index c916f7d9b2e..8e5dc051121 100644
--- a/ACE/ace/Reactor.h
+++ b/ACE/ace/Reactor.h
@@ -75,11 +75,14 @@ public:
};
/**
- * You can add a hook to various run_event methods and the hook will
- * be called after handling every reactor event. If this function
- * returns 0, <run_reactor_event_loop> will check for the return
- * value of <handle_event>. If it is -1, the
- * <run_reactor_event_loop> will return (pre-maturely.)
+ * You can specify a hook function to event-handling methods that will
+ * be called after each iteration of event handling. If the hook function
+ * returns a non-zero value, the event loop will immediately resume
+ * waiting for the next event(s) to process without checking the error
+ * status of the just-completed iteration of event handling or the
+ * end-of-loop indication. If the hook function returns 0, the event
+ * handling error status and the end-of-loop indication will be checked
+ * as normal, just as if there is no hook function specified.
*/
typedef int (*REACTOR_EVENT_HOOK)(ACE_Reactor *);