summaryrefslogtreecommitdiff
path: root/ace/Select_Reactor.h
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1998-05-02 21:06:34 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1998-05-02 21:06:34 +0000
commitb74bafd352dd39e23cebb872edfe695f26b1d654 (patch)
tree9caa429c55ba240d9efe6e546abe4ac3272c1bfe /ace/Select_Reactor.h
parent4572a838719f9f085942fda9ce4a574408c6e3c1 (diff)
downloadATCD-b74bafd352dd39e23cebb872edfe695f26b1d654.tar.gz
*** empty log message ***
Diffstat (limited to 'ace/Select_Reactor.h')
-rw-r--r--ace/Select_Reactor.h21
1 files changed, 13 insertions, 8 deletions
diff --git a/ace/Select_Reactor.h b/ace/Select_Reactor.h
index fb268c8f977..9457d529546 100644
--- a/ace/Select_Reactor.h
+++ b/ace/Select_Reactor.h
@@ -176,7 +176,7 @@ class ACE_Export ACE_Select_Reactor_Notify : public ACE_Event_Handler
// dispatched in the context of the <ACE_Select_Reactor> thread.
public:
// = Initialization and termination methods.
- int open (ACE_Select_Reactor *);
+ int open (ACE_Select_Reactor *, int disable_notify_pipe);
int close (void);
int dispatch_notifications (int &number_of_active_handles,
@@ -208,12 +208,14 @@ public:
private:
ACE_Select_Reactor *select_reactor_;
- // Keep a back pointer to the Select_Reactor.
+ // Keep a back pointer to the <ACE_Select_Reactor>. If this value
+ // if NULL then the <ACE_Select_Reactor> has been initialized with
+ // <disable_notify_pipe>.
ACE_Pipe notification_pipe_;
- // Contains the HANDLE the Select_Reactor is listening on, as well
- // as the HANDLE that threads wanting the attention of the
- // Select_Reactor will write to.
+ // Contains the <ACE_HANDLE> the <ACE_Select_Reactor> is listening
+ // on, as well as the <ACE_HANDLE> that threads wanting the
+ // attention of the <ACE_Select_Reactor> will write to.
};
class ACE_Export ACE_Select_Reactor_Handler_Repository
@@ -372,19 +374,22 @@ public:
// = Initialization and termination methods.
ACE_Select_Reactor (ACE_Sig_Handler * = 0,
- ACE_Timer_Queue * = 0);
+ ACE_Timer_Queue * = 0,
+ int disable_notify_pipe = 0);
// Initialize <ACE_Select_Reactor> with the default size.
ACE_Select_Reactor (size_t size,
int restart = 0,
ACE_Sig_Handler * = 0,
- ACE_Timer_Queue * = 0);
+ ACE_Timer_Queue * = 0,
+ int disable_notify_pipe = 0);
// Initialize <ACE_Select_Reactor> with size <size>.
virtual int open (size_t size = DEFAULT_SIZE,
int restart = 0,
ACE_Sig_Handler * = 0,
- ACE_Timer_Queue * = 0);
+ ACE_Timer_Queue * = 0,
+ int disable_notify_pipe = 0);
// Initialize <ACE_Select_Reactor> with size <size>.
virtual int set_sig_handler (ACE_Sig_Handler *signal_handler);