From 47620b82924dc782e7d6566cbe4033e476767c19 Mon Sep 17 00:00:00 2001 From: coryan Date: Tue, 17 Aug 1999 16:57:49 +0000 Subject: ChangeLogTag:Tue Aug 17 11:56:33 1999 Carlos O'Ryan --- ace/Select_Reactor_T.h | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'ace/Select_Reactor_T.h') 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 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 with size . virtual int open (size_t max_number_of_handles = DEFAULT_SIZE, @@ -536,6 +538,10 @@ protected: // if so, update the 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 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_UNIMPLEMENTED_FUNC (ACE_Select_Reactor_T &operator= (const ACE_Select_Reactor_T &) ) -- cgit v1.2.1