summaryrefslogtreecommitdiff
path: root/ace/WFMO_Reactor.h
diff options
context:
space:
mode:
authorirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-03-17 22:50:07 +0000
committerirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-03-17 22:50:07 +0000
commit90fd6317de95666df268a68e382ca0aeb8de0eb2 (patch)
tree838219ce10242c92129ac198b5daccdb2a2268a8 /ace/WFMO_Reactor.h
parent42e0e1031ffa35897e2c1ce1b986028570256296 (diff)
downloadATCD-90fd6317de95666df268a68e382ca0aeb8de0eb2.tar.gz
*** empty log message ***
Diffstat (limited to 'ace/WFMO_Reactor.h')
-rw-r--r--ace/WFMO_Reactor.h19
1 files changed, 15 insertions, 4 deletions
diff --git a/ace/WFMO_Reactor.h b/ace/WFMO_Reactor.h
index 461792d559b..01290b4ca88 100644
--- a/ace/WFMO_Reactor.h
+++ b/ace/WFMO_Reactor.h
@@ -886,14 +886,21 @@ protected:
int alertable);
// Check to see if it is ok to enter ::WaitForMultipleObjects().
- virtual int wait_for_multiple_events (ACE_Time_Value *max_wait_time,
- int alertable);
+ virtual int wait_for_multiple_events (int timeout,
+ int alertable);
// Wait for timer and I/O events to occur.
+ virtual DWORD poll_remaining_handles (size_t index);
+ // Check for activity on remaining handles.
+
+ virtual int expire_timers (void);
+ // Expire timers. Only the owner thread does useful stuff in this
+ // function.
+
virtual int dispatch (int wait_status);
// Dispatches the timers and I/O handlers.
- int safe_dispatch (int wait_status);
+ virtual int safe_dispatch (int wait_status);
// Protect against structured exceptions caused by user code when
// dispatching handles
@@ -902,7 +909,8 @@ protected:
// handles_[active_handles_] using <WaitForMultipleObjects> to poll
// through our handle set looking for active handles.
- virtual int dispatch_handler (int index);
+ virtual int dispatch_handler (size_t index,
+ size_t max_handlep1);
// Dispatches a single handler. Returns 0 on success, -1 if the
// handler was removed.
@@ -916,6 +924,9 @@ protected:
// Dispatches a single handler. Returns 0 on success, -1 if the
// handler was removed.
+ virtual int dispatch_window_messages (void);
+ // Dispatches window messages. Noop for WFMO_Reactor.
+
virtual ACE_Reactor_Mask upcall (ACE_Event_Handler *event_handler,
ACE_HANDLE io_handle,
ACE_HANDLE event_handle,