summaryrefslogtreecommitdiff
path: root/ace/Select_Reactor_T.h
diff options
context:
space:
mode:
authorcoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-08-17 16:57:49 +0000
committercoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-08-17 16:57:49 +0000
commit47620b82924dc782e7d6566cbe4033e476767c19 (patch)
tree18567ac2ec8c3e96ae6bb4bbb69fd61378b826f3 /ace/Select_Reactor_T.h
parent6318028b887662778e70c1cf15cf46c2a6911c25 (diff)
downloadATCD-47620b82924dc782e7d6566cbe4033e476767c19.tar.gz
ChangeLogTag:Tue Aug 17 11:56:33 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
Diffstat (limited to 'ace/Select_Reactor_T.h')
-rw-r--r--ace/Select_Reactor_T.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/ace/Select_Reactor_T.h b/ace/Select_Reactor_T.h
index cf92a670f88..97f4f961c9c 100644
--- a/ace/Select_Reactor_T.h
+++ b/ace/Select_Reactor_T.h
@@ -116,7 +116,8 @@ public:
ACE_Select_Reactor_T (ACE_Sig_Handler * = 0,
ACE_Timer_Queue * = 0,
int disable_notify_pipe = 0,
- ACE_Reactor_Notify *notify = 0);
+ ACE_Reactor_Notify *notify = 0,
+ int handle_signals = 1);
// Initialize <ACE_Select_Reactor> with the default size.
ACE_Select_Reactor_T (size_t size,
@@ -124,7 +125,8 @@ public:
ACE_Sig_Handler * = 0,
ACE_Timer_Queue * = 0,
int disable_notify_pipe = 0,
- ACE_Reactor_Notify *notify = 0);
+ ACE_Reactor_Notify *notify = 0,
+ int handle_signals = 1);
// Initialize <ACE_Select_Reactor> with size <size>.
virtual int open (size_t max_number_of_handles = DEFAULT_SIZE,
@@ -536,6 +538,10 @@ protected:
// if so, update the <handle_set> and return the number ready. If
// there aren't any HANDLEs enabled return 0.
+ virtual int any_ready_i (ACE_Select_Reactor_Handle_Set &handle_set);
+ // Implement the <any_ready> method, assuming that the Sig_Guard is
+ // beign held
+
virtual int handle_error (void);
// Take corrective action when errors occur.
@@ -618,6 +624,10 @@ protected:
// This flag is used to keep track of whether we are actively handling
// events or not.
+ int handle_signals_;
+ // If 0 then the Reactor will make no attempts to protect itself
+ // against signals or to dispatch them.
+
private:
ACE_UNIMPLEMENTED_FUNC (ACE_Select_Reactor_T (const ACE_Select_Reactor_T<ACE_SELECT_REACTOR_TOKEN> &))
ACE_UNIMPLEMENTED_FUNC (ACE_Select_Reactor_T<ACE_SELECT_REACTOR_TOKEN> &operator= (const ACE_Select_Reactor_T<ACE_SELECT_REACTOR_TOKEN> &) )