diff options
author | bala <balanatarajan@users.noreply.github.com> | 2001-05-24 15:35:05 +0000 |
---|---|---|
committer | bala <balanatarajan@users.noreply.github.com> | 2001-05-24 15:35:05 +0000 |
commit | 22b3d9d9ead534bdbcb794c0dc262b3c99ca6a7e (patch) | |
tree | d21e5978b58d458ef8159eeee043d17ea296403e /ace/Event_Handler.h | |
parent | de1aca4926e42b60c2a4d523a440e35add172867 (diff) | |
download | ATCD-22b3d9d9ead534bdbcb794c0dc262b3c99ca6a7e.tar.gz |
ChangeLogTag: Thu May 24 10:26:35 2001 Balachandran Natarajan <bala@cs.wustl.edu>
Diffstat (limited to 'ace/Event_Handler.h')
-rw-r--r-- | ace/Event_Handler.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/ace/Event_Handler.h b/ace/Event_Handler.h index 9d06e4a6dbb..a1e65136c12 100644 --- a/ace/Event_Handler.h +++ b/ace/Event_Handler.h @@ -116,7 +116,7 @@ public: /// Called when a process exits. virtual int handle_exit (ACE_Process *); - /// Called when a <handle_*()> method returns -1 or when the + /// Called when a <handle_*()> method returns -1 or when the /// <remove_handler> method is called on an <ACE_Reactor>. The /// <close_mask> indicates which event has triggered the /// <handle_close> method callback on a particular <handle>. @@ -127,6 +127,14 @@ public: /// when a Win32 object becomes signaled). virtual int handle_signal (int signum, siginfo_t * = 0, ucontext_t * = 0); + /// Called to figure out whether the handler needs to resumed by the + /// reactor or the application can take care of it. The default + /// value of 0 would be returned which would allow the reactor to + /// take care of resumption of the handler. The application can + /// return a value more than zero and decide to resume the handler + /// themseleves. + virtual int resume_handler (void); + virtual int handle_qos (ACE_HANDLE = ACE_INVALID_HANDLE); virtual int handle_group_qos (ACE_HANDLE = ACE_INVALID_HANDLE); |